@@ -22,42 +22,24 @@ line-length = 120
2222target-version = " py311"
2323
2424[tool .ruff .lint ]
25- select = [
26- " C90" , # mccabe
27- " D" , # pydocstyle
28- " E" , # pycodestyle
29- " W" , # pycodestyle
30- " F" , # Pyflakes
31- " I" , # isort
32- " UP" , # pyupgrade
33- " YTT" , # flake8-2020
34- " ANN" , # flake8-annotations
35- " S" , # flake8-bandit
36- " B" , # flake8-bugbear
37- " C4" , # flake8-comprehensions
38- " DTZ" , # flake8-datetimez
39- " EM" , # flake8-errmsg
40- " EXE" , # flake8-executable
41- " FA" , # flake8-future-annotations
42- " RET" , # flake8-return
43- " ICN" , # flake8-import-conventions
44- " PIE" , # flake8-pie
45- " PT" , # flake8-pytest-style
46- " SIM" , # flake8-simplify
47- " PTH" , # flake8-use-pathlib
48- " PL" , # Pylint
49- " TRY" , # tryceratops
50- " RUF" , # NumPy-specific rules
51- " G" , # flake8-logging-format
52- ]
25+ select = [" ALL" ]
5326ignore = [
54- " E501" , # line-too-long
55- " S101" , # assert
5627 " ANN101" , # missing-type-self
5728 " ANN102" , # missing-type-cls
58- " S311" , # suspicious-non-cryptographic-random-usage
29+ " COM" , # flake8-commas
30+ " E501" , # line-too-long
31+ " ISC001" , # single-line-implicit-string-concatenation
5932 " PLR0913" , # too-many-arguments
33+ " S101" , # assert
34+ " S311" , # suspicious-non-cryptographic-random-usage
35+ " T20" , # flake8-print
36+ " TCH001" , # typing-only-first-party-import
37+ " TCH002" , # typing-only-third-party-import
38+ " TCH003" , # typing-only-standard-library-import
6039]
6140
41+ [tool .ruff .lint .isort ]
42+ required-imports = [" from __future__ import annotations" ]
43+
6244[tool .ruff .lint .pydocstyle ] # https://docs.astral.sh/ruff/settings/#lintpydocstyle
6345convention = " google"
0 commit comments