Skip to content

Commit

Permalink
Update and extend pre-commit-hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Jul 18, 2023
1 parent 0861cd4 commit 2382747
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/psf/black
rev: 22.12.0
rev: 23.7.0
hooks:
- id: black
files: ^((luxtronik|pylint|scripts|tests)/.+)?[^/]+\.py$
Expand All @@ -10,11 +10,11 @@ repos:
hooks:
- id: isort
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.235
rev: v0.0.277
hooks:
- id: ruff
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
rev: v1.32.0
hooks:
- id: yamllint
- repo: https://github.com/asottile/pyupgrade
Expand All @@ -23,6 +23,12 @@ repos:
- id: pyupgrade
args: [--py310-plus]
stages: [manual]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
hooks:
- id: markdownlint
args:
- --fix
# - repo: https://github.com/PyCQA/autoflake
# rev: v2.0.0
# hooks:
Expand All @@ -45,7 +51,6 @@ repos:
# - mccabe==0.7.0
# stages: [manual]


# - repo: https://github.com/pre-commit/pre-commit-hooks
# rev: v4.4.0
# hooks:
Expand Down

0 comments on commit 2382747

Please sign in to comment.