toolcap_monoids/.pre-commit-config.yaml

35 lines
829 B
YAML
Raw Normal View History

2023-03-12 07:37:28 +03:00
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.3.0
hooks:
- id: fix-byte-order-marker
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
args: [ --fix=lf ]
- repo: local
hooks:
2023-05-25 19:13:23 +03:00
- id: detect_debug
name: detect debug
language: pygrep
entry: DEBUG
2023-03-12 07:37:28 +03:00
pass_filenames: true
2023-05-25 19:13:23 +03:00
exclude: .pre-commit-config.yaml
fail_fast: true
2023-03-12 07:37:28 +03:00
- id: stylua
name: stylua
language: system
entry: stylua
pass_filenames: true
types: [ file, lua ]
2023-05-25 19:13:23 +03:00
fail_fast: true
- id: luacheck
name: luacheck
language: system
entry: luacheck
pass_filenames: true
types: [ file, lua ]
args: [ -q ]
fail_fast: true