Skip to content

Commit

Permalink
Merge pull request #26 from keewis/more-pre-commit
Browse files Browse the repository at this point in the history
more `pre-commit` hooks
  • Loading branch information
keewis authored Nov 27, 2023
2 parents 7f0efd7 + 32d8ae4 commit 649a1dd
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 6,742 deletions.
21 changes: 18 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,30 @@ repos:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-yaml
- id: check-toml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v3.1.0
hooks:
- id: prettier
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.4
rev: v0.1.6
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.11.0
hooks:
- id: black-jupyter
- repo: https://github.com/MarcoGorelli/absolufy-imports
rev: v0.3.1
hooks:
- id: absolufy-imports
files: ^xdggs/
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.langauge_info.version]

ci:
autofix_prs: false
Expand Down
Loading

0 comments on commit 649a1dd

Please sign in to comment.