@@ -121,8 +121,36 @@ target-version = "py311"
121121quote-style = " single"
122122
123123[tool .ruff .lint ]
124- extend-select = [" I" ]
125- # Could add (in the future): "E", "F", "UP", "B", "SIM", "PL"
124+ # Could add the commented out rules in the future:
125+ extend-select = [
126+ " BLE" , # disallow catch-all exceptions
127+ " COM" , # enforce trailing comma rules
128+ " F" , # Pyflakes rules
129+ " FA" , # Enforce from __future__ import annotations
130+ " I" , # Isort rules
131+ " ICN" , # Use common import conventions
132+ " TID" , # Some good import practices
133+ # "A", # flake8-builtins: detect shadowed builtins
134+ # "B", # flake8-bugbear:
135+ # "C4", # flake8-comprehensions: catch incorrect use of comprehensions
136+ # "DOC", # pydoclint
137+ # "D", # pydocstyle
138+ # "DTZ", # flake8-datetimez: strict timezone manipulation with datetime
139+ # "E", # pycodestyle errors
140+ # "FBT", # flake8-boolean-trap: detect boolean traps
141+ # "ISC", # flake8-implicit-str-concat: good use of string concatenation
142+ # "N", # pep8-naming: enforce naming conventions
143+ # "NPY", # Some numpy-specific things
144+ # "PL", # Pylint rules
145+ # "PTH", # flake8-use-pathlib: use pathlib instead of os.path
146+ # "RET", # flake8-return: good return practices
147+ # "S", # flake8-bandit: security testing
148+ # "SIM", # flake8-simplify: common simplification rules
149+ # "TC", # flake8-type-checking: enforce importing certain types in a TYPE_CHECKING block
150+ # "TD", # flake8-todo: Be diligent with TODO comments
151+ # "UP", # pyupgrade: Warn if things can changed due to newer versions
152+ # "W", # pycodestyle warnings
153+ ]
126154ignore = [
127155 # Conflicting lint rules with Ruff's formatter
128156 # (see https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules).
0 commit comments