Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
orgua committed Mar 29, 2023
1 parent 1bc8028 commit 12f3426
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,27 +102,34 @@ repos:
- id: ansible-lint
files: \.(yaml|yml)$

- repo: https://github.com/rstcheck/rstcheck
rev: v6.1.2
hooks:
- id: rstcheck
additional_dependencies: [ "rstcheck[sphinx,toml]" ]
args: [ "--report-level=WARNING" ] # otherwise there is too much chatter

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.4"
rev: v2.2.4
hooks:
- id: codespell
exclude: \.(sch|brd|lbr)$

- repo: https://github.com/amperser/proselint
rev: '0.13.0'
rev: 0.13.0
hooks:
- id: proselint
types_or: ["markdown", "rst"]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: 'v16.0.0'
rev: v16.0.0
hooks:
- id: clang-format
types_or: [c++, c]

# cpp-check comes last! fails if uninstalled
- repo: https://github.com/pocc/pre-commit-hooks
rev: "v1.3.5"
rev: v1.3.5
hooks:
- id: cppcheck
args:
Expand All @@ -147,7 +154,7 @@ repos:
# TODO: add more c-linters, but there are to many false positives

# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v0.971"
# rev: v0.971
# hooks:
# - id: mypy
# TODO: activate mypy -> some work to fix type-annotations
Expand All @@ -163,7 +170,7 @@ repos:
# - shepherd-sheep

# - repo: https://github.com/charliermarsh/ruff-pre-commit
# rev: 'v0.0.257'
# rev: v0.0.257
# hooks:
# - id: ruff
# args: ["--fix", "--exit-non-zero-on-fix"]
Expand Down

0 comments on commit 12f3426

Please sign in to comment.