Skip to content

Commit

Permalink
add heartfelt-hooks; update hook versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Aug 15, 2023
1 parent 16812fb commit 30df437
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.7.0
hooks:
- id: black
name: black
Expand All @@ -23,7 +23,7 @@ repos:
additional_dependencies: [".[jupyter]"]

- repo: https://github.com/nbQA-dev/nbQA
rev: 1.6.3
rev: 1.7.0
hooks:
- id: nbqa-pyupgrade
args: ["--py38-plus"]
Expand All @@ -40,7 +40,7 @@ repos:
)
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -56,7 +56,7 @@ repos:
args: [--drop-empty-cells]

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -67,11 +67,15 @@ repos:
- id: isort
files: \.py$

# - repo: https://github.com/mcflugen/heartfelt-hooks
# rev: v0.2.0
# hooks:
# - id: check-whitespace
# - id: check-mixed-case
- repo: https://github.com/mcflugen/heartfelt-hooks
rev: v0.3.2
hooks:
- id: file-name-check-whitespace
- id: nb-check-kernel
args: [ --verbose, --kernel-name=python3, --kernel-language=python]
- id: nb-check-hidden-cells
args: [--tags=solution, --solution-suffix=.a.ipynb, --diff]
- id: notebook-check-heading-levels

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
Expand Down

0 comments on commit 30df437

Please sign in to comment.