11[build-system ]
22requires = [" setuptools>=42" , " wheel" , " setuptools_scm[toml]>=3.4" ]
33
4- [tool .black ]
5- skip-string-normalization = true
6- line-length = 127
7- include = ' \.pyi?$'
8- exclude = '''
9- /(
10- \.eggs
11- | \.git
12- | \.github
13- | \.idea
14- | \.mypy_cache
15- | \.pytest_cache
16- | \.tox
17- | \.nox
18- | \.venv
19- | \.vscode
20- | _build
21- | build
22- | cmd2.egg-info
23- | cmd2_history.dat
24- | dist
25- | htmlcov
26- )/
27- '''
4+ [tool .doc8 ]
5+ ignore-path = [
6+ " __pycache__" ,
7+ " *.egg" ,
8+ " .git" ,
9+ " .idea" ,
10+ " .nox" ,
11+ " .pytest_cache" ,
12+ " .tox" ,
13+ " .venv" ,
14+ " .vscode" ,
15+ " build" ,
16+ " cmd2" ,
17+ " cmd2.egg-info" ,
18+ " dist" ,
19+ " docs/_build" ,
20+ " examples" ,
21+ " htmlcov" ,
22+ " plugins" ,
23+ " tests" ,
24+ ]
25+ max-line-length = 120
26+ verbose = 0
2827
2928[tool .ruff ]
3029# Exclude a variety of commonly ignored directories.
@@ -72,20 +71,24 @@ output-format = "full"
7271select = [
7372 # https://beta.ruff.rs/docs/rules
7473 # "A", # flake8-builtins
74+ # "ANN", # flake8-annotations
7575 # "ARG", # flake8-unused-arguments
7676 " ASYNC" , # flake8-async
7777 # "B", # flake8-bugbear
7878 # "BLE", # flake8-blind-except
7979 # "C4", # flake8-comprehensions
8080 " C90" , # McCabe cyclomatic complexity
81+ # "COM", # flake8-commas
82+ # "D", # pydocstyle
8183 " DJ" , # flake8-django
8284 # "DTZ", # flake8-datetimez
8385 " E" , # pycodestyle
8486 # "EM", # flake8-errmsg
87+ # "ERA", # eradicate
8588 # "EXE", # flake8-executable
8689 " F" , # Pyflakes
8790 " FA" , # flake8-future-annotations
88- # "FLY ", # flynt
91+ # "FBT ", # flake8-boolean-trap
8992 " G" , # flake8-logging-format
9093 # "I", # isort
9194 " ICN" , # flake8-import-conventions
@@ -99,29 +102,24 @@ select = [
99102 # "PIE", # flake8-pie
100103 # "PL", # Pylint
101104 # "PT", # flake8-pytest-style
105+ # "PTH", # flake8-use-pathlib
102106 # "PYI", # flake8-pyi
107+ # "RET", # flake8-return
103108 " RSE" , # flake8-raise
109+ # "Q", # flake8-quotes
104110 # "RUF", # Ruff-specific rules
105111 # "S", # flake8-bandit
106112 # "SIM", # flake8-simplify
107113 # "SLF", # flake8-self
108114 # "T10", # flake8-debugger
115+ # "T20", # flake8-print
116+ # "TCH", # flake8-type-checking
109117 # "TD", # flake8-todos
110118 # "TID", # flake8-tidy-imports
119+ # "TRY", # tryceratops
111120 # "UP", # pyupgrade
112121 # "W", # pycodestyle
113122 # "YTT", # flake8-2020
114- # "ANN", # flake8-annotations # FIX ME?
115- # "COM", # flake8-commas
116- # "D", # pydocstyle -- FIX ME?
117- # "ERA", # eradicate -- DO NOT FIX
118- # "FBT", # flake8-boolean-trap # FIX ME
119- # "PTH", # flake8-use-pathlib # FIX ME
120- # "Q", # flake8-quotes
121- # "RET", # flake8-return # FIX ME?
122- # "T20", # flake8-print
123- # "TCH", # flake8-type-checking
124- # "TRY", # tryceratops
125123]
126124ignore = [
127125 # `ruff rule S101` for a description of that rule
0 commit comments