@@ -36,108 +36,5 @@ dependencies = [
36
36
[tool .hatch ]
37
37
build.targets.wheel.bypass-selection = true
38
38
39
- [tool .ruff ]
40
- line-length = 120
41
- format.preview = true
42
- format.docstring-code-line-length = 100
43
- format.docstring-code-format = true
44
- lint.select = [
45
- " ALL" ,
46
- ]
47
- lint.ignore = [
48
- " ANN101" , # no type annotation for self
49
- " ANN401" , # allow Any as type annotation
50
- " COM812" , # Conflict with formatter
51
- " CPY" , # No copyright statements
52
- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
53
- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
54
- " DOC" , # not supported
55
- " DOC501" , # not working with Sphinx
56
- " ISC001" , # Conflict with formatter
57
- " S104" , # Possible binding to all interfaces
58
- ]
59
- lint.per-file-ignores."tasks/**/*.py" = [
60
- " D" , # don't care about documentation in tsask files
61
- " INP001" , # not a package
62
- " S" , # no security concerns in mirror
63
- " T201" , # prints are alloowed
64
- ]
65
- lint.per-file-ignores."tests/**/*.py" = [
66
- " D" , # don't care about documentation in tests
67
- " FBT" , # don't care about booleans as positional arguments in tests
68
- " INP001" , # no implicit namespace
69
- " PLC2701" , # private import
70
- " PLR0913" , # any number of arguments in tests
71
- " PLR0917" , # any number of arguments in tests
72
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
73
- " S" , # no security concerns in tests
74
- ]
75
- lint.isort = { known-first-party = [ ], required-imports = [
76
- " from __future__ import annotations" ,
77
- ] }
78
- lint.preview = true
79
-
80
- [tool .codespell ]
81
- builtin = " clear,usage,en-GB_to_en-US"
82
- count = true
83
-
84
39
[tool .pyproject-fmt ]
85
40
max_supported_python = " 3.13"
86
-
87
- [tool .pytest ]
88
- ini_options.testpaths = [
89
- " tests" ,
90
- ]
91
- ini_options.verbosity_assertions = 2
92
-
93
- [tool .coverage ]
94
- html.show_contexts = true
95
- html.skip_covered = false
96
- paths.source = [
97
- " src" ,
98
- " .tox/*/.venv/lib/*/site-packages" ,
99
- " .tox\\ *\\ .venv\\ Lib\\ site-packages" ,
100
- " .tox/*/lib/*/site-packages" ,
101
- " .tox\\ *\\ Lib\\ site-packages" ,
102
- " **/src" ,
103
- " **\\ src" ,
104
- ]
105
- report.fail_under = 100
106
- run.parallel = true
107
- run.plugins = [
108
- " covdefaults" ,
109
- ]
110
- covdefaults.subtract_omit = " */__main__.py"
111
-
112
- [tool .mypy ]
113
- show_error_codes = true
114
- strict = true
115
-
116
- [dependency-groups ]
117
- dev = [
118
- { include-group = " tasks" },
119
- { include-group = " test" },
120
- { include-group = " type" },
121
- ]
122
- fix = [
123
- " pre-commit-uv>=4.1.3" ,
124
- ]
125
- tasks = [
126
- " gitpython>=3.1.43" ,
127
- " httpx>=0.27.2" ,
128
- " packaging>=24.1" ,
129
- ]
130
- test = [
131
- " covdefaults>=2.3" ,
132
- " pygments>=2.18" ,
133
- " pytest>=8.3.2" ,
134
- " pytest-cov>=5" ,
135
- { include-group = " fix" },
136
- ]
137
- type = [
138
- " mypy==1.11.2" ,
139
- " types-cachetools>=5.5.0.20240820" ,
140
- " types-chardet>=5.0.4.6" ,
141
- { include-group = " test" },
142
- { include-group = " tasks" },
143
- ]
0 commit comments