2023-05-02 14:57:12 -05:00
|
|
|
exclude: "^(src/.*|bin/scripts|font-patcher)"
|
2023-01-07 10:12:48 -06:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2023-03-20 01:32:08 -05:00
|
|
|
rev: v4.4.0
|
2023-01-07 10:12:48 -06:00
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- repo: https://github.com/psf/black
|
2023-03-20 01:32:08 -05:00
|
|
|
rev: 23.1.0
|
2023-01-07 10:12:48 -06:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2023-03-20 01:32:08 -05:00
|
|
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
|
|
rev: 'v0.0.257'
|
2023-01-07 10:12:48 -06:00
|
|
|
hooks:
|
2023-03-20 01:32:08 -05:00
|
|
|
- id: ruff
|
2023-01-07 10:12:48 -06:00
|
|
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
|
|
|
rev: v0.9.0.2
|
|
|
|
hooks:
|
|
|
|
- id: shellcheck
|