There are a lot of disgusting pylint: disable pragmas littering the code base: they should be removed completely - pylint is not used directly any more because it's slow and Ruff can perform those same checks, so they are useless.
Standards as defined in the pyproject.toml to keep the source readable and to have a single place to view what has been set. Some of the pylint checks are commented out (probably because they would fail), but it would be good to also see what can be enabled by adding per-file ignores and exclusions to carefully achieve the same as the in-file pragmas until refactoring is done later.
|
lint.select = [ |
|
# "ANN", # flake8-annotations |
|
"ARG", # flake8-unused-arguments |
|
"B", # flake8-bugbear |
|
# "C4", # flake8-comprehensions |
|
"C90", # mccabe |
|
"D", # pydocstyle |
|
# "DTZ", # flake8-datetimez |
|
# "E", # pycodestyle |
|
# "EM", # flake8-errmsg |
|
# "ERA", # eradicate |
|
"F", # Pyflakes |
|
"I", # isort |
|
"ICN", # flake8-import-conventions |
|
"N", # pep8-naming |
|
# "PD", # pandas-vet |
|
"PGH", # pygrep-hooks |
|
"PIE", # flake8-pie |
|
# "PL", # Pylint |
|
"PLC", # Pylint |
|
"PLE", # Pylint |
|
# "PLR", # Pylint |
|
# "PLW", # Pylint |
|
"PT", # flake8-pytest-style |
|
"Q", # flake8-quotes |
|
# "RET", # flake8-return |
|
"RUF100", # Ruff-specific |
|
# "S", # flake8-bandit |
|
# "SIM", # flake8-simplify |
|
# "T20", # flake8-print |
|
"TID", # flake8-tidy-imports |
|
"UP", # pyupgrade |
|
"W", # pycodestyle |
|
"YTT", # flake8-2020 |
|
] |
There are a lot of disgusting
pylint: disablepragmas littering the code base: they should be removed completely - pylint is not used directly any more because it's slow and Ruff can perform those same checks, so they are useless.Standards as defined in the
pyproject.tomlto keep the source readable and to have a single place to view what has been set. Some of the pylint checks are commented out (probably because they would fail), but it would be good to also see what can be enabled by adding per-file ignores and exclusions to carefully achieve the same as the in-file pragmas until refactoring is done later.ACRO/pyproject.toml
Lines 94 to 128 in 50b6c6c