2023-01-10 03:53:22 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.3.0
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-toml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 22.10.0
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
- repo: https://github.com/PyCQA/flake8
|
|
|
|
rev: 6.0.0
|
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2023-01-10 04:35:12 +00:00
|
|
|
exclude: ^(.tox|env|build|dist|help|qt/dg_rc.py|pkg).*
|
2023-01-10 03:53:22 +00:00
|
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
|
|
rev: v9.3.0
|
|
|
|
hooks:
|
|
|
|
- id: commitlint
|
|
|
|
stages: [commit-msg]
|
|
|
|
additional_dependencies: ["@commitlint/config-conventional"]
|