@@ -80,6 +80,18 @@ format.docstring-code-format = true
8080lint.select = [
8181 " ALL" ,
8282]
83+ lint.ignore = [
84+ " ANN101" , # Missing type annotation for `self` in method
85+ " COM812" , # Conflict with formatter
86+ " CPY" , # No copyright statements
87+ " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
88+ " D205" , # 1 blank line required between summary line and description
89+ " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
90+ " D301" , # Use `r"""` if any backslashes in a docstring
91+ " D401" , # First line of docstring should be in imperative mood
92+ " ISC001" , # Conflict with formatter
93+ " S104" , # Possible binding to all interface
94+ ]
8395lint.per-file-ignores."tests/**/*.py" = [
8496 " D" , # don"t care about documentation in tests
8597 " FBT" , # don"t care about booleans as positional arguments in tests
@@ -93,18 +105,6 @@ lint.isort = { known-first-party = [
93105], required-imports = [
94106 " from __future__ import annotations" ,
95107] }
96- lint.ignore = [
97- " ANN101" , # Missing type annotation for `self` in method
98- " COM812" , # Conflict with formatter
99- " CPY" , # No copyright statements
100- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
101- " D205" , # 1 blank line required between summary line and description
102- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
103- " D301" , # Use `r"""` if any backslashes in a docstring
104- " D401" , # First line of docstring should be in imperative mood
105- " ISC001" , # Conflict with formatter
106- " S104" , # Possible binding to all interface
107- ]
108108lint.preview = true
109109
110110[tool .codespell ]
0 commit comments