Switch to ruff pyupgrade

This commit is contained in:
Gabriel Augendre 2023-02-17 15:45:58 +01:00
parent 907f3ad238
commit bdb97645a9

View file

@ -25,11 +25,6 @@ repos:
- --markdown-linebreak-ext=md
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py311-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.12.0
hooks:
@ -45,7 +40,7 @@ repos:
hooks:
- id: djhtml
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.246'
rev: v0.0.247
hooks:
- id: ruff
args: [--fix]