Skip to content

Commit

Permalink
fix pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab committed Dec 5, 2023
1 parent b09f288 commit 6ca2055
Show file tree
Hide file tree
Showing 4 changed files with 927 additions and 911 deletions.
26 changes: 15 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,32 @@ repos:

- repo: local
hooks:
- id: black
name: black
entry: black
- id: ruff-format
name: ruff-format
entry: ruff format
exclude: |
(?x)(
docs
)
language: system
pass_filenames: true
types:
- python

- id: mypy
name: mypy
entry: mypy
- id: ruff-linter
name: ruff-linter
entry: ruff check
language: system
files: "./"
exclude: "docs/"
pass_filenames: true
types:
- python

- id: ruff
name: ruff
entry: ruff --fix
- id: mypy
name: mypy
entry: mypy
language: system
files: "."
files: "./"
pass_filenames: true
types:
- python
Expand Down
Loading

0 comments on commit 6ca2055

Please sign in to comment.