Skip to content

Commit

Permalink
ci: Disable pre-commit autofix (#458)
Browse files Browse the repository at this point in the history
* ci: Disable autofixing by pre-commit

* ci: Correct isort flags
  • Loading branch information
marksweb authored May 10, 2022
1 parent a132d3b commit 466a500
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
uses: liskin/gh-problem-matcher-wrap@v1
with:
linters: isort
run: isort -c -rc -df djangocms_admin_style
run: isort --check --diff djangocms_admin_style
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ci:
autofix_prs: false

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
Expand Down

0 comments on commit 466a500

Please sign in to comment.