Skip to content

Commit

Permalink
Test isort and pyupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Apr 26, 2024
1 parent 7b61f13 commit 1d70cda
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,25 @@ repos:
hooks:
- id: black
name: check python formating (black)
args:
[
"--diff"
]
# args:
# [
# "--diff"
# ]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
hooks:
- id: pyupgrade
args: [--py38-plus]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: check python imports order (isort)
# args:
# [
# "--check-only"
# ]
- repo: local
hooks:
- id: docker-hadolint
Expand Down

0 comments on commit 1d70cda

Please sign in to comment.