Skip to content

Commit 7aa2f9d

Browse files
authored
fix: don’t attempt to sort imports on git push (they must already be sorted) (#851)
1 parent 6eca202 commit 7aa2f9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ repos:
2828
- id: isort
2929
name: Sort import statements
3030
args: [--settings-path, pyproject.toml]
31+
stages: [pre-commit]
3132

3233
# Add Black code formatters.
3334
- repo: https://github.com/ambv/black

0 commit comments

Comments
 (0)