Skip to content

Commit

Permalink
update pre-commit hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Niclas Wesemann <[email protected]>
  • Loading branch information
nwesem authored and erikbosch committed Jun 25, 2024
1 parent 39be8c3 commit a40863c
Showing 1 changed file with 30 additions and 3 deletions.
33 changes: 30 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
Expand All @@ -11,8 +11,35 @@ repos:
exclude: ".*\\.[fidl|jsonschema]"
- id: check-yaml
- id: check-added-large-files

- repo: https://github.com/pycqa/flake8
- repo: https://github.com/pycqa/flake8
rev: '7.0.0'
hooks:
- id: flake8
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
args: [ --py310-plus ]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/psf/black
rev: 23.10.1
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.1
hooks:
- id: ruff
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.12.1
hooks:
- id: markdownlint-cli2
args:
- --fix
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
hooks:
- id: codespell

0 comments on commit a40863c

Please sign in to comment.