mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-07 17:14:31 +01:00
f56d641a1b
* 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
22 lines
601 B
YAML
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]
|