Skip to content

Commit

Permalink
build: migrate pre-commit config (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Nov 27, 2024
2 parents 62be2d2 + d580088 commit f372336
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
rev: "22.3.0"
hooks:
- id: black
stages: [commit]
stages: [pre-commit]

- repo: "https://github.com/commitizen-tools/commitizen"
rev: "v2.18.0"
Expand All @@ -17,38 +17,38 @@ repos:
rev: "0.5.0"
hooks:
- id: nbstripout
stages: [commit]
stages: [pre-commit]

- repo: "https://github.com/pre-commit/mirrors-prettier"
rev: "v2.7.1"
hooks:
- id: prettier
stages: [commit]
stages: [pre-commit]
exclude: tests\/test_.+\.

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.215"
hooks:
- id: ruff
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/PyCQA/doc8
rev: "v1.1.1"
hooks:
- id: doc8
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/FHPythonUtils/LicenseCheck
rev: "2023.5.1"
hooks:
- id: licensecheck
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell
stages: [commit]
stages: [pre-commit]
additional_dependencies:
- tomli

Expand All @@ -57,5 +57,5 @@ repos:
rev: v4.3.0
hooks:
- id: check-merge-conflict
stages: [commit]
stages: [pre-commit]
args: [--assume-in-merge]

0 comments on commit f372336

Please sign in to comment.