@@ -41,7 +41,7 @@ dev = [
4141 " pytest-ruff<1.0.0,>=0.4.1" ,
4242 " pytest-mypy>=0.10.3,<2.0.0" ,
4343 " mypy<2.0.0,>=1.14.1" ,
44- " ruff<1.0.0,>=0.9 .0" ,
44+ " ruff<1.0.0,>=0.14 .0" ,
4545 " sphinx-immaterial<0.14.0,>=0.12.4; python_version == \" 3.13\" " ,
4646 " pyinstrument>=5.1.1" ,
4747]
@@ -149,10 +149,6 @@ ignore = [
149149 " S101" , # Use of assert detected https://docs.astral.sh/ruff/rules/assert/
150150 " RUF012" , # Mutable class attributes should be annotated with `typing.ClassVar`
151151 " SIM102" , # sometimes it's better to nest
152- " UP038" , # Checks for uses of isinstance/issubclass that take a tuple
153- # of types for comparison.
154- # Deactivated because it can make the code slow:
155- # https://github.com/astral-sh/ruff/issues/7871
156152 " TC003" , # Ignore moving imports into a type-checking block.
157153 " C901" # too complex
158154]
@@ -161,9 +157,7 @@ fixable = ["ALL"]
161157unfixable = []
162158# The fixes in extend-unsafe-fixes will require
163159# provide the `--unsafe-fixes` flag when fixing.
164- extend-unsafe-fixes = [
165- " UP038"
166- ]
160+ extend-unsafe-fixes = []
167161# Allow unused variables when underscore-prefixed.
168162dummy-variable-rgx = " ^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
169163
0 commit comments