2022-04-04 18:44:08 +03:00
|
|
|
# $ pip install pre-commit
|
|
|
|
# $ pre-commit install
|
|
|
|
# $ pre-commit run --all-files
|
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.1.0
|
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
2022-06-09 17:36:07 +03:00
|
|
|
exclude: tests/
|
2022-04-04 18:44:08 +03:00
|
|
|
- id: end-of-file-fixer
|
2022-07-06 12:49:58 +03:00
|
|
|
exclude: tests/|assets/
|
2022-04-04 18:44:08 +03:00
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: mixed-line-ending
|
2022-06-09 17:36:07 +03:00
|
|
|
exclude: tests/
|
2022-04-04 18:44:08 +03:00
|
|
|
|
2022-07-08 14:59:45 +03:00
|
|
|
- repo: https://github.com/anoma/juvix
|
2022-07-14 12:41:58 +03:00
|
|
|
rev: ea767ef2b4255cb2180ccf9628307f53fdd05ba0
|
2022-04-04 18:44:08 +03:00
|
|
|
hooks:
|
|
|
|
- id: ormolu
|
|
|
|
- id: hlint
|