File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ check = [
118118
119119 # local
120120
121- # Removal of deprecated UP027, PT004 & PT005 astral-sh/ruff#14383
122- " ruff >= 0.8 .0; sys_platform != 'cygwin'" ,
121+ # Deprecated rules must now be selected by exact rule code
122+ " ruff >= 0.13 .0; sys_platform != 'cygwin'" ,
123123]
124124
125125cover = [
@@ -139,7 +139,7 @@ type = [
139139 # pin mypy version so a new version doesn't suddenly cause the CI to fail,
140140 # until types-setuptools is removed from typeshed.
141141 # For help with static-typing issues, or mypy update, ping @Avasam
142- " mypy==1.14 .*" ,
142+ " mypy==1.18 .*" ,
143143 # Typing fixes in version newer than we require at runtime
144144 " importlib_metadata>=7.0.2; python_version < '3.10'" ,
145145 # Imported unconditionally in tools/finalize.py
Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ ignore = [
6565 " TRY003" , # raise-vanilla-args, avoid multitude of exception classes
6666 " TRY301" , # raise-within-try, it's handy
6767 " UP015" , # redundant-open-modes, explicit is preferred
68- " UP038" , # Using `X | Y` in `isinstance` call is slower and more verbose https://github.com/astral-sh/ruff/issues/7871
6968 # Only enforcing return type annotations for public functions
7069 " ANN202" , # missing-return-type-private-function
7170]
7271
7372[lint .per-file-ignores ]
7473# Suppress nuisance warnings about module-import-not-at-top-of-file (E402) due to workaround for #4476
7574"setuptools/__init__.py" = [" E402" ]
75+ # pkg_resources is due for removal, not worth fixing existing errors
7676"pkg_resources/__init__.py" = [" E402" , " ANN204" ]
7777"pkg_resources/tests/test_resources.py" = [" PT031" ]
7878
You can’t perform that action at this time.
0 commit comments