mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-22 08:23:33 +01:00
421ef832ac
* Create * Update validation.yml * testing fixes * Update validation.yml * Added missing uses to validation file * Update HP-5120-48G-PoEP-EI.yaml * testing fixes * Added newline at end of yaml file * removing unnessecary tasks from validation * Update HP-5120-24G-PoEP-EI.yaml * Update HP-5120-24G-PoEP-EI.yaml
16 lines
423 B
YAML
16 lines
423 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']
|