Skip to content

Commit

Permalink
fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Jan 24, 2024
1 parent 7dc2172 commit 98cbd78
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,9 @@ jobs:
shell: bash
run: pip3 install hatch

- name: Install pre-commit
shell: bash
run: pip3 install pre-commit

- name: Run Pre-commit Hooks
run: hatch run lint:pre-commit run --show-diff-on-failure --color=always --all-files
run: pre-commit run --show-diff-on-failure --color=always --all-files
16 changes: 9 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ repos:
exclude_types:
- "markdown"
- id: check-case-conflict
# - id: linter
# name: linter
# entry: hatch run lint:all
# language: system
# types: [python]
# pass_filenames: false
# verbose: true
- repo: local
hooks:
- id: linter
name: linter
entry: hatch run lint:all
language: system
types: [python]
pass_filenames: false
verbose: true

0 comments on commit 98cbd78

Please sign in to comment.