@@ -66,11 +66,11 @@ build.hooks.vcs.version-file = "src/py_discovery/_version.py"
6666version.source = " vcs"
6767
6868[tool .ruff ]
69- select = [" ALL" ]
7069line-length = 120
7170target-version = " py37"
72- isort = { known-first-party = [" py_discovery" ], required-imports = [" from __future__ import annotations" ] }
73- ignore = [
71+ lint.isort = { known-first-party = [" py_discovery" ], required-imports = [" from __future__ import annotations" ] }
72+ lint.select = [" ALL" ]
73+ lint.ignore = [
7474 " INP001" , # no implicit namespaces here
7575 " ANN101" , # Missing type annotation for `self` in method
7676 " ANN102" , # Missing type annotation for `cls` in classmethod"
@@ -79,9 +79,13 @@ ignore = [
7979 " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
8080 " S104" , # Possible binding to all interfaces
8181 " CPY" , # no copyright
82+ " COM812" , # Conflict with formatter
83+ " ISC001" , # Conflict with formatter
8284]
83- format.preview = true
8485lint.preview = true
86+ format.preview = true
87+ format.docstring-code-format = true
88+ format.docstring-code-line-length = 100
8589[tool .ruff .per-file-ignores ]
8690"tests/**/*.py" = [
8791 " S101" , # asserts allowed in tests
@@ -100,13 +104,6 @@ builtin = "clear,usage,en-GB_to_en-US"
100104count = true
101105quiet-level = 3
102106
103- [tool .docformatter ]
104- blank = true
105- recursive = true
106- pre-summary-newline = true
107- wrap-descriptions = 120
108- wrap-summaries = 120
109-
110107[tool .coverage ]
111108report.fail_under = 87
112109html.show_contexts = true
0 commit comments