File tree 4 files changed +6
-5
lines changed
4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change
1
+ Drop dependency on Flake8 by using Ruff's YTT rules instead of flake8-2020 -- by :user: `Avasam `
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ ignore = [
18
18
]
19
19
extend-select = [
20
20
" UP" , # pyupgrade
21
+ " YTT" , # flake8-2020
21
22
]
22
23
extend-ignore = [
23
24
" UP015" , # redundant-open-modes, explicit is preferred
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ testing =
55
55
pytest-ruff >= 0.2.1; sys_platform != "cygwin"
56
56
57
57
# local
58
- flake8-2020
59
58
virtualenv>=13.0.0
60
59
wheel
61
60
pip>=19.1 # For proper file:// URLs support.
Original file line number Diff line number Diff line change @@ -323,9 +323,9 @@ def test_parity_with_metadata_from_pypa_wheel(tmp_path):
323
323
"testing" : """
324
324
pytest >= 6
325
325
pytest-checkdocs >= 2.4
326
- pytest-flake8 ; \\
327
- # workaround for tholo/pytest-flake8#87
328
- python_version < "3.12 "
326
+ tomli ; \\
327
+ # Using stdlib when possible
328
+ python_version < "3.11 "
329
329
ini2toml[lite]>=0.9
330
330
""" ,
331
331
"other" : [],
@@ -345,7 +345,7 @@ def test_parity_with_metadata_from_pypa_wheel(tmp_path):
345
345
'Requires-Python: >=3.8' ,
346
346
'Provides-Extra: other' ,
347
347
'Provides-Extra: testing' ,
348
- 'Requires-Dist: pytest-flake8 ; python_version < "3.12 " and extra == "testing"' ,
348
+ 'Requires-Dist: tomli ; python_version < "3.11 " and extra == "testing"' ,
349
349
'Requires-Dist: more-itertools==8.8.0; extra == "other"' ,
350
350
'Requires-Dist: ini2toml[lite]>=0.9; extra == "testing"' ,
351
351
]
You can’t perform that action at this time.
0 commit comments