Skip to content

Commit 466a500

Browse files
authored
ci: Disable pre-commit autofix (#458)
* ci: Disable autofixing by pre-commit * ci: Correct isort flags
1 parent a132d3b commit 466a500

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
uses: liskin/gh-problem-matcher-wrap@v1
3636
with:
3737
linters: isort
38-
run: isort -c -rc -df djangocms_admin_style
38+
run: isort --check --diff djangocms_admin_style

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
ci:
2+
autofix_prs: false
3+
14
repos:
25
- repo: https://github.com/asottile/pyupgrade
36
rev: v2.32.1

0 commit comments

Comments
 (0)