@@ -78,26 +78,25 @@ lint = [
7878fix = true
7979unsafe-fixes = true
8080line-length = 120
81- target-version = " py311"
8281
8382[tool .ruff .lint ]
8483select = [" ALL" ]
8584ignore = [
86- " D1" , # allow missing docstrings
87- " S101" , # allow asserts
88- " TCH" , # ignore flake8-type-checking
89- " FBT" , # allow boolean args
90- " D203" , # "one-blank-line-before-class" conflicting with D211
91- " D213" , # "multi-line-summary-second-line" conflicting with D212
92- " COM812" , # flake8-commas "Trailing comma missing"
93- " ISC001" , # flake8-implicit-str-concat
85+ " D1" , # docstrings are not forced; a docstring exists when it says something
86+ " D203" , # conflicts with D211
87+ " D213" , # conflicts with D212
88+ " COM812" , # conflicts with the formatter
89+ " ISC001" , # conflicts with the formatter
9490 " CPY001" , # no per-file copyright header
91+ " FBT" , # boolean positional arguments are fine
92+ " TCH" , # imports stay real; TYPE_CHECKING-only imports break runtime introspection
9593]
9694isort.lines-after-imports = 2
9795isort.no-lines-before = [" standard-library" , " local-folder" ]
9896
9997[tool .ruff .lint .per-file-ignores ]
10098"src/httpware/client.py" = [" ASYNC109" , " ANN401" ]
99+ "tests/**" = [" S101" ]
101100
102101[tool .pytest .ini_options ]
103102addopts = " --cov=. --cov-report term-missing --cov-fail-under=100"
0 commit comments