We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dbefde commit e6d1030Copy full SHA for e6d1030
1 file changed
pyproject.toml
@@ -111,16 +111,11 @@ exclude_lines = [
111
]
112
113
[tool.ruff.lint]
114
-# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
115
-select = ["E4", "E7", "E9", "F"]
116
-ignore = []
117
-# TODO: check that ruff substitutes
118
-# - flake8-bugbear
119
-# - dlint
120
-# - pydocstyle (google style)
121
-# - black
122
-# - autoflake
123
-# - isort
+# see here: https://docs.astral.sh/ruff/rules/
+# ruff by default works like a mix of flake8, autoflake and black
+# we extend default linter rules to substitute:
+# flake8-bugbear, pydocstyle, isort, flake8-bandit
+extend-select = ["B", "D", "I", "S"]
124
125
[tool.bandit]
126
exclude_dirs = ["tests"]
0 commit comments