Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
chore: fix pre-commit hook IDs
Browse files Browse the repository at this point in the history
Signed-off-by: Panos Vagenas <[email protected]>
  • Loading branch information
vagenas committed Sep 3, 2024
1 parent 24fe02d commit b5efe95
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
fail_fast: true
repos:
- repo: local
hooks:
################
# Python files #
################
- repo: local
hooks:
- id: system
- id: black
name: Black
entry: poetry run black quackling tests
pass_filenames: false
language: system
files: '\.py$'
- id: system
- id: isort
name: isort
entry: poetry run isort quackling tests
pass_filenames: false
language: system
files: '\.py$'
- id: system
name: flake8
- id: flake8
name: Flake8
entry: poetry run flake8 quackling tests
pass_filenames: false
language: system
files: '\.py$'
- id: system
name: MyPy
- id: mypy
name: Mypy
entry: poetry run mypy quackling tests
pass_filenames: false
language: system
Expand All @@ -38,19 +38,22 @@ repos:
#####################
# Jupyter notebooks #
#####################
- id: system
name: nbqa black
- id: nbqa_black
name: nbQA Black
entry: poetry run nbqa black examples
pass_filenames: false
language: system
files: '\.ipynb$'
- id: system
name: nbqa isort
- id: nbqa_isort
name: nbQA isort
entry: poetry run nbqa isort examples
pass_filenames: false
language: system
files: '\.ipynb$'
- id: system
########
# Misc #
########
- id: poetry
name: Poetry check
entry: poetry check --lock
pass_filenames: false
Expand Down

0 comments on commit b5efe95

Please sign in to comment.