Skip to content

Commit

Permalink
Updated pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Nov 12, 2023
1 parent 9343668 commit ec4323b
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
exclude: '^pint/_vendor'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 23.1.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.10.1
- id: black-jupyter
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.240'
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- id: ruff
args: ["--fix"]
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: flake8
- id: mdformat
additional_dependencies:
- mdformat-gfm # GitHub-flavored Markdown
- mdformat-black
- repo: https://github.com/kynan/nbstripout
rev: 0.6.1
hooks:
- id: nbstripout
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]

0 comments on commit ec4323b

Please sign in to comment.