@@ -7,30 +7,17 @@ build-backend = "setuptools.build_meta"
77
88
99[tool .ruff ]
10+ fix = true
11+ # todo: drop when migrated project metadata from setup.cfg
1012target-version = " py38"
1113# Enable Pyflakes `E` and `F` codes by default.
1214lint.select = [
13- " E" ,
14- " W" , # see: https://pypi.org/project/pycodestyle
15- " F" , # see: https://pypi.org/project/pyflakes
16- " I" , # see: https://pypi.org/project/isort/
17- " S" , # see: https://pypi.org/project/flake8-bandit
18- # "D", # see: https://pypi.org/project/pydocstyle
19- # "N", # see: https://pypi.org/project/pep8-naming
15+ " E" , # https://pypi.org/project/pyflakes/
16+ " W" , # https://pypi.org/project/pycodestyle/
17+ " F" , # https://pypi.org/project/pyflakes/
18+ " I" , # https://pypi.org/project/isort/
19+ " S" , # https://pypi.org/project/flake8-bandit/
2020]
21- # lint.extend-select = [
22- # "A", # see: https://pypi.org/project/flake8-builtins
23- # "B", # see: https://pypi.org/project/flake8-bugbear
24- # "C4", # see: https://pypi.org/project/flake8-comprehensions
25- # "PT", # see: https://pypi.org/project/flake8-pytest-style
26- # "RET", # see: https://pypi.org/project/flake8-return
27- # "ANN", # see: https://pypi.org/project/flake8-annotations
28- # ]
29- # lint.ignore = [
30- # "E731", # Do not assign a lambda expression, use a def
31- # ]
32- lint.ignore-init-module-imports = true
33- lint.unfixable = [" F401" ]
3421
3522[tool .ruff .lint .per-file-ignores ]
3623"test_*.py" = [" S101" , " S311" ]
@@ -39,9 +26,6 @@ lint.unfixable = ["F401"]
3926# Use Google-style docstrings.
4027convention = " google"
4128
42- # [tool.ruff.pycodestyle]
43- # ignore-overlong-task-comments = true
44-
4529[tool .ruff .lint .mccabe ]
4630# Unlike Flake8, default to a complexity level of 10.
4731max-complexity = 10
0 commit comments