Skip to content

Commit

Permalink
Run isort/black in check mode printing the diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru committed Nov 21, 2024
1 parent d4a9217 commit 7014f98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ repos:
hooks:
- id: black
name: check python formating (black)
args: ["--diff", "--check"]
# - repo: https://github.com/asottile/pyupgrade
# rev: v3.16.0
# hooks:
Expand All @@ -87,7 +88,7 @@ repos:
hooks:
- id: isort
name: check python imports order (isort)
args: ["--profile", "black", "--filter-files"]
args: ["--profile", "black", "--filter-files", "--diff", "--check-only"]
- repo: local
hooks:
- id: docker-hadolint
Expand Down

0 comments on commit 7014f98

Please sign in to comment.