.pre-commit-config.yaml - add pylint,autopep8,cmake-lint,cmake-format

This commit is contained in:
Allen Winter
2022-07-08 17:31:33 -04:00
parent 0785408a5c
commit 4afc6b62b2
4 changed files with 258 additions and 1 deletions

View File

@@ -14,7 +14,22 @@ repos:
rev: v14.0.0
hooks:
- id: clang-format
- repo: https://github.com/PyCQA/pylint
rev: v2.12.2
hooks:
- id: pylint
exclude: ^(.cmake-format.py|conan/conanfile.py)
additional_dependencies: ["PySide2", "PySide6"]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.6.0
hooks:
- id: autopep8
- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: v0.6.13
hooks:
- id: cmake-lint
- id: cmake-format