Skip to content

Commit

Permalink
Replace pyupgrade with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
epenet committed Sep 12, 2024
1 parent 1bac230 commit 8674237
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ repos:
language: system
types: [python]
require_serial: true
- id: pyupgrade
name: pyupgrade
description: Automatically upgrade syntax for newer versions.
entry: pyupgrade
language: system
types: [python]
args: [--py37-plus]
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: trailing-whitespace-fixer
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pre-commit-hooks = ">=4.1.0"
pytest = ">=6.2.5"
pytest-asyncio = ">=0.20.2"
pytest-cov = ">=4.0.0"
pyupgrade = ">=2.29.1"
respx = ">=0.20.1"
safety = ">=1.10.3"
sphinx = ">=4.3.2"
Expand Down Expand Up @@ -116,6 +115,7 @@ select = [
"N", #pep8-naming
"PL", #Pylint
"PT", #flake8-pytest-style
"UP", #pyupgrade
]

[tool.ruff.lint.isort]
Expand Down

0 comments on commit 8674237

Please sign in to comment.