@@ -51,7 +51,7 @@ dependencies = [
5151 " exceptiongroup>=1.0.0rc8; python_version<'3.11'" ,
5252 " iniconfig" ,
5353 " packaging" ,
54- " pluggy<2, >=1.5" ,
54+ " pluggy>=1.5,<2 " ,
5555 " tomli>=1; python_version<'3.11'" ,
5656]
5757optional-dependencies.dev = [
@@ -200,7 +200,9 @@ disable = [
200200 " arguments-renamed" ,
201201 " assigning-non-slot" ,
202202 " attribute-defined-outside-init" ,
203+ " bad-builtin" ,
203204 " bad-classmethod-argument" ,
205+ " bad-dunder-name" ,
204206 " bad-mcs-method-argument" ,
205207 " broad-exception-caught" ,
206208 " broad-exception-raised" ,
@@ -209,25 +211,40 @@ disable = [
209211 " comparison-with-callable" ,
210212 " comparison-with-itself" , # PLR0124 from ruff
211213 " condition-evals-to-constant" ,
214+ " consider-alternative-union-syntax" ,
215+ " confusing-consecutive-elif" ,
216+ " consider-using-any-or-all" ,
217+ " consider-using-assignment-expr" ,
212218 " consider-using-dict-items" ,
213219 " consider-using-from-import" ,
214220 " consider-using-f-string" ,
215221 " consider-using-in" ,
222+ " consider-using-namedtuple-or-dataclass" ,
216223 " consider-using-ternary" ,
224+ " consider-using-tuple" ,
217225 " consider-using-with" ,
218226 " consider-using-from-import" , # not activated by default, PLR0402 disabled in ruff
227+ " consider-ternary-expression" ,
219228 " cyclic-import" ,
229+ " differing-param-doc" ,
230+ " docstring-first-line-empty" ,
231+ " deprecated-argument" ,
232+ " deprecated-attribute" ,
233+ " deprecated-class" ,
234+ " deprecated-typing-alias" ,
220235 " disallowed-name" , # foo / bar are used often in tests
221236 " duplicate-code" ,
222237 " else-if-used" , # not activated by default, PLR5501 disabled in ruff
223238 " empty-comment" , # not activated by default, PLR2044 disabled in ruff
224239 " eval-used" ,
240+ " eq-without-hash" ,
225241 " exec-used" ,
226242 " expression-not-assigned" ,
227243 " fixme" ,
228244 " global-statement" , # PLW0603 disabled in ruff
229245 " import-error" ,
230246 " import-outside-toplevel" ,
247+ " import-private-name" ,
231248 " inconsistent-return-statements" ,
232249 " invalid-bool-returned" ,
233250 " invalid-name" ,
@@ -238,8 +255,12 @@ disable = [
238255 " magic-value-comparison" , # not activated by default, PLR2004 disabled in ruff
239256 " method-hidden" ,
240257 " missing-docstring" ,
258+ " missing-param-doc" ,
259+ " missing-raises-doc" ,
241260 " missing-timeout" ,
261+ " missing-type-doc" ,
242262 " misplaced-bare-raise" , # PLE0704 from ruff
263+ " misplaced-comparison-constant" ,
243264 " multiple-statements" , # multiple-statements-on-one-line-colon (E701) from ruff
244265 " no-else-break" ,
245266 " no-else-continue" ,
@@ -248,6 +269,7 @@ disable = [
248269 " no-member" ,
249270 " no-name-in-module" ,
250271 " no-self-argument" ,
272+ " no-self-use" ,
251273 " not-an-iterable" ,
252274 " not-callable" ,
253275 " pointless-exception-statement" , # https://github.com/pytest-dev/pytest/pull/12379
@@ -260,12 +282,14 @@ disable = [
260282 " redefined-builtin" ,
261283 " redefined-loop-name" , # PLW2901 disabled in ruff
262284 " redefined-outer-name" ,
285+ " redefined-variable-type" ,
263286 " reimported" ,
264287 " simplifiable-condition" ,
265288 " simplifiable-if-expression" ,
266289 " singleton-comparison" ,
267290 " superfluous-parens" ,
268291 " super-init-not-called" ,
292+ " too-complex" ,
269293 " too-few-public-methods" ,
270294 " too-many-ancestors" ,
271295 " too-many-arguments" , # disabled in ruff
@@ -275,9 +299,11 @@ disable = [
275299 " too-many-lines" ,
276300 " too-many-locals" ,
277301 " too-many-nested-blocks" ,
302+ " too-many-positional-arguments" ,
278303 " too-many-public-methods" ,
279304 " too-many-return-statements" , # disabled in ruff
280305 " too-many-statements" , # disabled in ruff
306+ " too-many-try-statements" ,
281307 " try-except-raise" ,
282308 " typevar-name-incorrect-variance" , # PLC0105 disabled in ruff
283309 " unbalanced-tuple-unpacking" ,
@@ -299,10 +325,12 @@ disable = [
299325 " use-dict-literal" ,
300326 " use-implicit-booleaness-not-comparison" ,
301327 " use-implicit-booleaness-not-len" ,
328+ " use-set-for-membership" ,
302329 " useless-else-on-loop" , # PLC0414 disabled in ruff
303330 " useless-import-alias" ,
304331 " useless-return" ,
305332 " using-constant-test" ,
333+ " while-used" ,
306334 " wrong-import-order" , # handled by isort / ruff
307335 " wrong-import-position" , # handled by isort / ruff
308336]
0 commit comments