2022-08-29 08:30:14 +01:00
|
|
|
repos:
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: codeformat
|
2023-10-21 07:40:27 +01:00
|
|
|
name: MicroPython codeformat.py for changed C files
|
|
|
|
entry: tools/codeformat.py -v -c -f
|
2022-08-29 08:30:14 +01:00
|
|
|
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
|
2023-10-21 07:40:27 +01:00
|
|
|
rev: v0.1.3
|
2023-05-02 09:39:44 +01:00
|
|
|
hooks:
|
|
|
|
- id: ruff
|
2023-10-21 07:40:27 +01:00
|
|
|
- id: ruff-format
|