Skip to content

Commit

Permalink
🔧 update pre-commit config (#174)
Browse files Browse the repository at this point in the history
This small PR updates the pre-commit configuration so it actually works
and skips the auto-generated files that should not be touched.

Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
  • Loading branch information
burgholzer committed May 30, 2023
1 parent cac9769 commit 19a812a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

defaults:
run:
shell: sh
Expand Down
8 changes: 6 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# pre-commit install
#

exclude: >
(?x)^(
dist/.*|package.*\.json
)$
ci:
autoupdate_commit_msg: "⬆️🪝 update pre-commit hooks"
autofix_commit_msg: "🎨 pre-commit fixes"
Expand Down Expand Up @@ -35,10 +40,9 @@ repos:

# Check for spelling
- repo: https://github.com/codespell-project/codespell
rev: "v2.2.1"
rev: "v2.2.4"
hooks:
- id: codespell
args: ["-L", "wille,linz,inflight"]

# Format configuration files with prettier
- repo: https://github.com/pre-commit/mirrors-prettier
Expand Down

0 comments on commit 19a812a

Please sign in to comment.