@@ -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,41 @@ 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" ,
235+ " dict-init-mutate" ,
220236 " disallowed-name" , # foo / bar are used often in tests
221237 " duplicate-code" ,
222238 " else-if-used" , # not activated by default, PLR5501 disabled in ruff
223239 " empty-comment" , # not activated by default, PLR2044 disabled in ruff
224240 " eval-used" ,
241+ " eq-without-hash" ,
225242 " exec-used" ,
226243 " expression-not-assigned" ,
227244 " fixme" ,
228245 " global-statement" , # PLW0603 disabled in ruff
229246 " import-error" ,
230247 " import-outside-toplevel" ,
248+ " import-private-name" ,
231249 " inconsistent-return-statements" ,
232250 " invalid-bool-returned" ,
233251 " invalid-name" ,
@@ -238,8 +256,12 @@ disable = [
238256 " magic-value-comparison" , # not activated by default, PLR2004 disabled in ruff
239257 " method-hidden" ,
240258 " missing-docstring" ,
259+ " missing-param-doc" ,
260+ " missing-raises-doc" ,
241261 " missing-timeout" ,
262+ " missing-type-doc" ,
242263 " misplaced-bare-raise" , # PLE0704 from ruff
264+ " misplaced-comparison-constant" ,
243265 " multiple-statements" , # multiple-statements-on-one-line-colon (E701) from ruff
244266 " no-else-break" ,
245267 " no-else-continue" ,
@@ -248,6 +270,7 @@ disable = [
248270 " no-member" ,
249271 " no-name-in-module" ,
250272 " no-self-argument" ,
273+ " no-self-use" ,
251274 " not-an-iterable" ,
252275 " not-callable" ,
253276 " pointless-exception-statement" , # https://github.com/pytest-dev/pytest/pull/12379
@@ -260,12 +283,14 @@ disable = [
260283 " redefined-builtin" ,
261284 " redefined-loop-name" , # PLW2901 disabled in ruff
262285 " redefined-outer-name" ,
286+ " redefined-variable-type" ,
263287 " reimported" ,
264288 " simplifiable-condition" ,
265289 " simplifiable-if-expression" ,
266290 " singleton-comparison" ,
267291 " superfluous-parens" ,
268292 " super-init-not-called" ,
293+ " too-complex" ,
269294 " too-few-public-methods" ,
270295 " too-many-ancestors" ,
271296 " too-many-arguments" , # disabled in ruff
@@ -279,6 +304,7 @@ disable = [
279304 " too-many-public-methods" ,
280305 " too-many-return-statements" , # disabled in ruff
281306 " too-many-statements" , # disabled in ruff
307+ " too-many-try-statements" ,
282308 " try-except-raise" ,
283309 " typevar-name-incorrect-variance" , # PLC0105 disabled in ruff
284310 " unbalanced-tuple-unpacking" ,
@@ -300,10 +326,12 @@ disable = [
300326 " use-dict-literal" ,
301327 " use-implicit-booleaness-not-comparison" ,
302328 " use-implicit-booleaness-not-len" ,
329+ " use-set-for-membership" ,
303330 " useless-else-on-loop" , # PLC0414 disabled in ruff
304331 " useless-import-alias" ,
305332 " useless-return" ,
306333 " using-constant-test" ,
334+ " while-used" ,
307335 " wrong-import-order" , # handled by isort / ruff
308336 " wrong-import-position" , # handled by isort / ruff
309337]
0 commit comments