Skip to content

Commit

Permalink
fix: update pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
duboise-cnes committed Jan 7, 2025
1 parent b1c701b commit 79c72a8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,43 +3,43 @@ repos:
hooks:
- id: isort
name: Isort
stages: [commit]
stages: [pre-commit]
language: system
entry: isort
types: [python]

- id: black
name: Black
stages: [commit]
stages: [pre-commit]
language: system
entry: black
types: [python]

- id: flake8
name: Flake8
stages: [commit]
stages: [pre-commit]
language: system
entry: flake8
types: [python]

- id: pylint
name: PyLint
stages: [commit]
stages: [pre-commit]
language: system
entry: pylint --rcfile=.pylintrc
files: \.py$

- id: mypy
name: mypy
stages: [ commit ]
stages: [ pre-commit ]
language: system
entry: mypy
files: \.py$

- id: jupyter-nb-clear-output
name: jupyter-nb-clear-output
files: \.ipynb$
stages: [commit]
stages: [pre-commit]
language: system
entry: jupyter nbconvert --ClearOutputPreprocessor.enabled=True --inplace

Expand All @@ -49,4 +49,4 @@ repos:
language: system
files: ^(docs/.*|demcompare/.*)$
pass_filenames: False
stages: [push]
stages: [pre-push]

0 comments on commit 79c72a8

Please sign in to comment.