Skip to content

Commit

Permalink
pre-commit: update linters and adopt ruff-format
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Nov 10, 2023
1 parent 37206d6 commit 782b53d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
- id: black

- repo: https://github.com/asottile/reorder_python_imports
rev: v3.10.0
rev: v3.12.0
hooks:
- id: reorder-python-imports
args:
- "--py38-plus"

- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.15.0
hooks:
- id: pyupgrade
args:
- "--py38-plus"

- repo: https://github.com/asottile/add-trailing-comma
rev: v3.0.1
rev: v3.1.0
hooks:
- id: add-trailing-comma

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.282
rev: v0.1.5
hooks:
- id: ruff
- id: ruff-format

0 comments on commit 782b53d

Please sign in to comment.