2022-08-29 08:30:14 +01:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: codeformat
|
|
|
|
name: MicroPython codeformat.py for changed files
|
|
|
|
entry: tools/codeformat.py -v -f
|
|
|
|
language: python
|
|
|
|
- id: verifygitlog
|
|
|
|
name: MicroPython git commit message format checker
|
|
|
|
entry: tools/verifygitlog.py --check-file --ignore-rebase
|
|
|
|
language: python
|
|
|
|
verbose: true
|
|
|
|
stages: [commit-msg]
|
2023-05-02 09:39:44 +01:00
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
|
|
rev: v0.0.265
|
|
|
|
hooks:
|
|
|
|
- id: ruff
|