devicetype-library/.pre-commit-config.yaml
Daniel W. Anner 12638369b3
Dependencies updates for May 2023 (#1326)
* Dependencies updates for May 2023

* adding updates to pre-commit and validation

* updating pre-commit config
2023-05-05 12:49:12 -04:00

31 lines
817 B
YAML

---
files: ^(device-types|module-types)/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
name: Check YAML files
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.31.0
hooks:
- id: yamllint
name: Lint YAML files
args: [--format, parsable, --strict]
- repo: local
hooks:
- id: pytest
name: Run PyTest Case Checks
entry: pytest
language: system
args: [--tb=short, -v]
pass_filenames: false
always_run: true