Skip to content

Commit

Permalink
add pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
waltsims committed Jan 5, 2024
1 parent 16a735b commit d61c908
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,17 @@ repos:
entry: nb-clean clean
language: python
types_or: [jupyter]
minimum_pre_commit_version: 2.9.2
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- repo: https://github.com/nbQA-dev/nbQA
rev: 1.7.1
hooks:
- id: nbqa-ruff
name: nbqa-ruff
entry: nbqa ruff
language: python
types_or: [jupyter]
minimum_pre_commit_version: 2.9.2
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ docs = ["m2r2==0.3.2",
"sphinx-tabs==3.4.4",
"sphinx-toolbox==3.5.0",
"furo==2023.9.10"]
dev = ["pre-commit==3.5.0"]

[tool.hatch.version]
path = "kwave/__init__.py"
Expand Down

0 comments on commit d61c908

Please sign in to comment.