Skip to content

Commit

Permalink
ci: add python code upgrade pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Jul 16, 2024
1 parent 41cf20c commit 8034624
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ repos:
- id: ruff-format
files: ^src/backend/(?:.*/)*.*$

# Upgrade: upgrade Python syntax
- repo: https://github.com/asottile/pyupgrade
rev: v3.16.0
hooks:
- id: pyupgrade

# # Dead code: Python usused code detection
# - repo: https://github.com/asottile/dead
# rev: v1.5.2
Expand Down

0 comments on commit 8034624

Please sign in to comment.