| 1 | target-version = "py311" |
| 2 | line-length = 100 |
| 3 | |
| 4 | [lint] |
| 5 | select = [] |
| 6 | ignore = [ |
| 7 | # Copyright and license information is handled elsewhere in Debian packages |
| 8 | "CPY001", |
| 9 | |
| 10 | # No blank lines before the class docstring, TYVM |
| 11 | "D203", |
| 12 | |
| 13 | # The multi-line docstring summary starts on the same line |
| 14 | "D213", |
| 15 | |
| 16 | # We do not document everything in the docstrings |
| 17 | "DOC201", |
| 18 | "DOC501", |
| 19 | |
| 20 | # The /x regex modifier is common enough in many languages |
| 21 | "FURB167", |
| 22 | ] |
| 23 | |
| 24 | [lint.isort] |
| 25 | force-single-line = true |
| 26 | known-first-party = ["temptest"] |
| 27 | lines-after-imports = 2 |
| 28 | single-line-exclusions = ["collections.abc", "typing"] |