diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..61cae6d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,23 @@ +[tool.black] +line-length = 100 +target-version = ["py310"] +skip-string-normalization = true +preview = true + +[tool.ruff] +line-length = 100 +select = [ + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "UP", # pyupgrade + "D", # pydocstyle + "C", # mccabe complexity +] + +[tool.ruff.pydocstyle] +convention = "google" + +[tool.ruff.lint.per-file-ignores] +# Ignore missing docstrings in tests +"tests/*" = ["D"]