File tree 2 files changed +3
-7
lines changed 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ check = [
114
114
115
115
# local
116
116
117
- # Removal of deprecated UP027, PT004 & PT005 astral-sh/ruff#14383
118
- " ruff >= 0.8 .0; sys_platform != 'cygwin'" ,
117
+ # Get requires-python from pyproject.toml automatically astral-sh/ruff#16319
118
+ " ruff >= 0.11 .0; sys_platform != 'cygwin'" ,
119
119
]
120
120
121
121
cover = [
@@ -135,7 +135,7 @@ type = [
135
135
# pin mypy version so a new version doesn't suddenly cause the CI to fail,
136
136
# until types-setuptools is removed from typeshed.
137
137
# For help with static-typing issues, or mypy update, ping @Avasam
138
- " mypy==1.14 .*" ,
138
+ " mypy==1.15 .*" ,
139
139
# Typing fixes in version newer than we require at runtime
140
140
" importlib_metadata>=7.0.2; python_version < '3.10'" ,
141
141
# Imported unconditionally in tools/finalize.py
Original file line number Diff line number Diff line change 1
- # extend pyproject.toml for requires-python (workaround astral-sh/ruff#10299)
2
- extend = " pyproject.toml"
3
-
4
1
exclude = [
5
2
" **/_vendor" ,
6
3
" setuptools/_distutils" ,
@@ -68,7 +65,6 @@ ignore = [
68
65
" TRY003" , # raise-vanilla-args, avoid multitude of exception classes
69
66
" TRY301" , # raise-within-try, it's handy
70
67
" UP015" , # redundant-open-modes, explicit is preferred
71
- " UP038" , # Using `X | Y` in `isinstance` call is slower and more verbose https://github.com/astral-sh/ruff/issues/7871
72
68
# Only enforcing return type annotations for public functions
73
69
" ANN202" , # missing-return-type-private-function
74
70
" ANN204" , # missing-return-type-special-method
You can’t perform that action at this time.
0 commit comments