[tool.ruff] | |
exclude = [ | |
".git", | |
".vscode", | |
".pytest_cache", | |
".bamboo", | |
".tecton", | |
".mypy_cache", | |
".env", | |
] | |
ignore = [ | |
"B008", | |
"ISC001", | |
"E501", | |
"W191" | |
] | |
line-length = 88 | |
select = [ | |
"B", # https://pypi.org/project/flake8-bugbear/ | |
"E", # https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes | |
"F", # https://flake8.pycqa.org/en/latest/user/error-codes.html | |
"W", # https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes | |
"I", # https://pycqa.github.io/isort/ | |
"N", # https://github.com/PyCQA/pep8-naming | |
"C4", # https://github.com/adamchainz/flake8-comprehensions | |
"EXE", # https://pypi.org/project/flake8-executable/ | |
"ISC", # https://github.com/flake8-implicit-str-concat/flake8-implicit-str-concat | |
"ICN", # https://pypi.org/project/flake8-import-conventions/ | |
"PIE", # https://pypi.org/project/flake8-pie/ | |
"PT", # https://github.com/m-burst/flake8-pytest-style | |
"RET", # https://pypi.org/project/flake8-return/ | |
"SIM", # https://pypi.org/project/flake8-simplify/ | |
"ERA", # https://pypi.org/project/flake8-eradicate/ | |
"PLC", # https://beta.ruff.rs/docs/rules/#convention-plc | |
"RUF", # https://beta.ruff.rs/docs/rules/#ruff-specific-rules-ruf | |
"ARG", # https://beta.ruff.rs/docs/rules/#flake8-unused-arguments-arg | |
] | |
[tool.ruff.per-file-ignores] | |
"__init__.py" = ["F401"] | |
[tool.mypy] | |
files = [ | |
"**/*.py", | |
] | |
follow_imports = "silent" | |
ignore_missing_imports = true | |
scripts_are_modules = true | |
python_version = 3.9 | |