@@ -103,11 +103,11 @@ build.targets.sdist.include = ["/src", "/tests", "/tox.ini"]
103103version.source = " vcs"
104104
105105[tool .ruff ]
106- select = [" ALL" ]
107106line-length = 120
108107target-version = " py38"
109- isort = { known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ] }
110- ignore = [
108+ lint.isort = { known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ] }
109+ lint.select = [" ALL" ]
110+ lint.ignore = [
111111 " CPY" , # No copyright header
112112 " INP001" , # no implicit namespaces here
113113 " D" , # ignore documentation for now
@@ -118,21 +118,16 @@ ignore = [
118118 " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
119119 " S104" , # Possible binding to all interfaces
120120 " COM812" , # conflicts with formatter
121- " COM819" , # conflicts with formatter
122- " E501" , # conflicts with formatter
123121 " ISC001" , # conflicts with formatter
124- " Q000" , # conflicts with formatter
125- " Q001" , # conflicts with formatter
126- " Q002" , # conflicts with formatter
127- " Q003" , # conflicts with formatter
128- " W191" , # conflicts with formatter
129122 " S404" , # Using subprocess is alright.
130123 " PLR0914" , # # Too many local variables
131124 " PLR0917" , # # Too many positional arguments
132125]
133126format.preview = true
134127lint.preview = true
135- [tool .ruff .per-file-ignores ]
128+ format.docstring-code-format = true
129+ format.docstring-code-line-length = 100
130+ [tool .ruff .lint .per-file-ignores ]
136131"tests/**/*.py" = [
137132 " S101" , # asserts allowed in tests...
138133 " FBT" , # don"t care about booleans as positional arguments in tests
@@ -142,6 +137,13 @@ lint.preview = true
142137 " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
143138]
144139
140+ [tool .codespell ]
141+ builtin = " clear,usage,en-GB_to_en-US"
142+ write-changes = true
143+ skip = " *.svg"
144+ ignore-words = " ignore-words.txt"
145+ count = true
146+
145147[tool .pytest .ini_options ]
146148testpaths = [" tests" ]
147149addopts = " --tb=auto -ra --showlocals --no-success-flaky-report"
0 commit comments