@@ -210,50 +210,21 @@ show-fixes = true
210210
211211
212212[tool .ruff .lint ]
213- extend-select = [
214- " ARG" , # flake8-unused-arguments
215- " B" , # flake8-bugbear
216- " BLE" , # flake8-blind-except
217- " C4" , # flake8-comprehensions
218- " DTZ" , # flake8-datetimez
219- " EM" , # flake8-errmsg
220- " EXE" , # flake8-executable
221- " FA" , # flake8-future-annotations
222- " FLY" , # flynt
223- " FURB" , # refurb
224- " G" , # flake8-logging-format
225- " I" , # isort
226- " ICN" , # flake8-import-conventions
227- " ISC" , # flake8-implicit-str-concat
228- " LOG" , # flake8-logging
229- " PERF" , # Perflint
230- " PGH" , # pygrep-hooks
231- " PIE" , # flake8-pie
232- " PL" , # pylint
233- " PT" , # flake8-pytest-style
234- " PTH" , # flake8-use-pathlib
235- " PYI" , # flake8-pyi
236- " Q" , # flake8-quotes
237- " RET" , # flake8-return
238- " RSE" , # flake8-raise
239- " RUF" , # Ruff-specific
240- " SIM" , # flake8-simplify
241- " SLOT" , # flake8-slots
242- " T10" , # flake8-debugger
243- " T20" , # flake8-print
244- " TC" , # flake8-type-checking
245- " TID251" , # flake8-tidy-imports.banned-api
246- " TRY" , # tryceratops
247- " UP" , # pyupgrade
248- " YTT" , # flake8-2020
249-
250- ]
213+ extend-select = [" ALL" ]
251214ignore = [
252- " ISC001" , # May collide with formatter
253215 " PLR09" , # Too many X
254216 " PLR2004" , # Magic value in comparison
217+ " COM812" , # Trailing commas teach the formatter
218+ " E501" , # Line too long
219+ " S101" , # Assert is used by pytest and mypy
220+ " D" , # TODO
221+ " C9" , # Complexity
222+ " S" , # TODO
223+ " ANN401" , # TODO (Any)
255224]
256225typing-modules = [" repo_review._compat.typing" ]
226+ pydocstyle.convention = " pep257"
227+ flake8-builtins.ignorelist = [" copyright" , " print" ]
257228
258229[tool .ruff .lint .flake8-tidy-imports .banned-api ]
259230"typing.Callable".msg = " Use collections.abc.Callable instead."
@@ -267,7 +238,9 @@ typing-modules = ["repo_review._compat.typing"]
267238
268239[tool .ruff .lint .per-file-ignores ]
269240"src/repo_review/_compat/**.py" = [" TID251" ]
270- "src/**/__main__.py" = [" T20" ]
241+ "src/**/__main__.py" = [" T20" , " FBT001" ]
242+ "tests/**.py" = [" D" , " INP001" , " FBT001" , " ANN" ]
243+ "docs/**.py" = [" INP001" ]
271244
272245[tool .coverage ]
273246report.exclude_also = [
0 commit comments