Skip to content

Commit e300124

Browse files
Replace pyupgrade by ruff
1 parent 48ea360 commit e300124

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.pre-commit-config.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ repos:
3333
additional_dependencies:
3434
- flake8-typing-imports==1.12.0
3535
- flake8-docstrings==1.5.0
36-
- repo: https://github.com/asottile/pyupgrade
37-
rev: v3.15.0
38-
hooks:
39-
- id: pyupgrade
40-
args: [--py38-plus]
4136
- repo: https://github.com/asottile/setup-cfg-fmt
4237
rev: v2.5.0
4338
hooks:

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ select = [
132132
"F", # pyflakes
133133
"W", # pycodestyle
134134
"I", # isort
135+
"UP", # pyupgrade
135136
]
136137

137138
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)