2
2
build-backend = " hatchling.build"
3
3
requires = [
4
4
" hatch-vcs>=0.4" ,
5
- " hatchling>=1.18 " ,
5
+ " hatchling>=1.21 " ,
6
6
]
7
7
8
8
[project ]
@@ -51,13 +51,13 @@ dependencies = [
51
51
" chardet>=5.2" ,
52
52
" colorama>=0.4.6" ,
53
53
" filelock>=3.13.1" ,
54
- ' importlib-metadata>=7; python_version < "3.8"' ,
54
+ ' importlib-metadata>=7.0.1 ; python_version < "3.8"' ,
55
55
" packaging>=23.2" ,
56
56
" platformdirs>=4.1" ,
57
57
" pluggy>=1.3" ,
58
58
" pyproject-api>=1.6.1" ,
59
59
' tomli>=2.0.1; python_version < "3.11"' ,
60
- ' typing-extensions>=4.8 ; python_version < "3.8"' ,
60
+ ' typing-extensions>=4.9 ; python_version < "3.8"' ,
61
61
" virtualenv>=20.25" ,
62
62
]
63
63
optional-dependencies.docs = [
@@ -75,13 +75,13 @@ optional-dependencies.testing = [
75
75
" covdefaults>=2.3" ,
76
76
" detect-test-pollution>=1.2" ,
77
77
" devpi-process>=1" ,
78
- " diff-cover>=8.0.1 " ,
79
- " distlib>=0.3.7 " ,
78
+ " diff-cover>=8.0.2 " ,
79
+ " distlib>=0.3.8 " ,
80
80
" flaky>=3.7" ,
81
81
" hatch-vcs>=0.4" ,
82
- " hatchling>=1.18 " ,
83
- " psutil>=5.9.6 " ,
84
- " pytest>=7.4.3 " ,
82
+ " hatchling>=1.21 " ,
83
+ " psutil>=5.9.7 " ,
84
+ " pytest>=7.4.4 " ,
85
85
" pytest-cov>=4.1" ,
86
86
" pytest-mock>=3.12" ,
87
87
" pytest-xdist>=3.5" ,
@@ -106,34 +106,40 @@ version.source = "vcs"
106
106
select = [" ALL" ]
107
107
line-length = 120
108
108
target-version = " py38"
109
- isort = {known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ]}
109
+ isort = { known-first-party = [" tox" , " tests" ], required-imports = [" from __future__ import annotations" ] }
110
110
ignore = [
111
+ " CPY" , # No copyright header
111
112
" INP001" , # no implicit namespaces here
112
- " D" , # ignore documentation for now
113
+ " D" , # ignore documentation for now
113
114
" ANN401" , # Dynamically typed expressions (typing.Any) are disallowed in `arg`"
114
115
" ANN101" , # Missing type annotation for `self` in method
115
116
" ANN102" , # Missing type annotation for `cls` in classmethod"
116
- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
117
- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
118
- " S104" , # Possible binding to all interface
119
- " COM812" , # conflicts with formatter
120
- " COM819" , # conflicts with formatter
121
- " E501" , # conflicts with formatter
122
- " ISC001" , # conflicts with formatter
123
- " Q000" , # conflicts with formatter
124
- " Q001" , # conflicts with formatter
125
- " Q002" , # conflicts with formatter
126
- " Q003" , # conflicts with formatter
127
- " W191" , # conflicts with formatter
117
+ " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
118
+ " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
119
+ " S104" , # Possible binding to all interfaces
120
+ " COM812" , # conflicts with formatter
121
+ " COM819" , # conflicts with formatter
122
+ " E501" , # conflicts with formatter
123
+ " ISC001" , # conflicts with formatter
124
+ " Q000" , # conflicts with formatter
125
+ " Q001" , # conflicts with formatter
126
+ " Q002" , # conflicts with formatter
127
+ " Q003" , # conflicts with formatter
128
+ " W191" , # conflicts with formatter
129
+ " S404" , # Using subprocess is alright.
130
+ " PLR0914" , # # Too many local variables
131
+ " PLR0917" , # # Too many positional arguments
128
132
]
133
+ format.preview = true
134
+ lint.preview = true
129
135
[tool .ruff .per-file-ignores ]
130
136
"tests/**/*.py" = [
131
- " S101" , # asserts allowed in tests...
132
- " FBT" , # don"t care about booleans as positional arguments in tests
133
- " INP001" , # no implicit namespace
134
- " D" , # don" t care about documentation in tests
135
- " S603" , # `subprocess` call: check for execution of untrusted input
136
- " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
137
+ " S101" , # asserts allowed in tests...
138
+ " FBT" , # don"t care about booleans as positional arguments in tests
139
+ " INP001" , # no implicit namespace
140
+ " D" , # don' t care about documentation in tests
141
+ " S603" , # `subprocess` call: check for execution of untrusted input
142
+ " PLR2004" , # Magic value used in comparison, consider replacing with a constant variable
137
143
]
138
144
139
145
[tool .pytest .ini_options ]
0 commit comments