Skip to content

Commit 28f8efc

Browse files
committed
Fix linting issues since we haven't fully dropped 3.10 yet.
1 parent b11f49d commit 28f8efc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ select = [
8585
"UP", # pyupgrade
8686
"T10", # flake8-debugger (replaces debug-statements hook)
8787
]
88-
ignore = ["E203", "E501", "UP038", "UP031"]
88+
# UP036: Remove once Python 3.10 is the minimum supported version
89+
ignore = ["E203", "E501", "UP038", "UP031", "UP036"]
8990
per-file-ignores = {"src/requests/__init__.py" = ["E402", "F401"], "src/requests/compat.py" = ["E402", "F401"], "tests/compat.py" = ["F401"]}
9091

9192
[tool.ruff.lint.isort]
@@ -100,4 +101,4 @@ indent-style = "space"
100101
addopts = "--doctest-modules"
101102
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
102103
minversion = "6.2"
103-
testpaths = ["tests"]
104+
testpaths = ["tests"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
from setuptools import setup
88

9-
setup()
9+
setup()

0 commit comments

Comments
 (0)