36 lines
900 B
YAML
36 lines
900 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.1.0
|
|
hooks:
|
|
- id: check-ast
|
|
- id: check-json
|
|
- id: check-xml
|
|
- id: check-yaml
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.4.0
|
|
hooks:
|
|
- id: mypy
|
|
additional_dependencies: [ 'lxml', 'numpy', 'types-atomicwrites', 'types-pycurl', 'types-requests', 'types-certifi' ]
|
|
args:
|
|
- --warn-redundant-casts
|
|
- --warn-return-any
|
|
- --warn-unreachable
|
|
- --warn-unused-ignores
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.0.282
|
|
hooks:
|
|
- id: ruff
|
|
- repo: local
|
|
hooks:
|
|
- id: cppcheck
|
|
name: cppcheck
|
|
entry: cppcheck
|
|
language: system
|
|
types: [c++]
|
|
args:
|
|
- --error-exitcode=1
|
|
- --language=c++
|
|
- --quiet
|
|
- --force
|
|
- -j8
|