devicetype-library/.pre-commit-config.yaml
Daniel W. Anner f56d641a1b
Adding dependabot & updating reqirements (#1026)
* Added dependabot template

* Testing dependabot

* Testing dependabot

* Added dependabot config. Updated pre-commit config to ignore the dependabot yaml file. Updated requirements.

* Added myself to the dependabot assignee list

* Fixed missing newline in dependabot config

* adding pre-commit to requirements

* Update dependabot.yml

* Update dependabot.yml

* Update dependabot.yml

Changed schedule to montly

* Modified Actions validation & pre-commit config
- Fixed spacing and newline issues in actions validation file
- Modified pre-commit config to only scan device-types and module-types, same as the validation action
2023-01-05 11:27:38 -05:00

22 lines
601 B
YAML

---
files: ^(device-types|module-types)/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.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.2
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.27.1
hooks:
- id: yamllint
name: Lint YAML files
args: [--format, parsable, --strict]