Dependencies updates for May 2023 (#1326)

* Dependencies updates for May 2023

* adding updates to pre-commit and validation

* updating pre-commit config
This commit is contained in:
Daniel W. Anner 2023-05-05 12:49:12 -04:00 committed by GitHub
parent 840b0210ec
commit 12638369b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 14 deletions

View File

@ -19,6 +19,9 @@ jobs:
run: |
yamllint --format github --strict \
device-types/ module-types/
- name: Format YAML files (hooks)
run: |
pre-commit run --config .pre-commit-hooks-config.yaml --all-files
- name: Format YAML files (yamlfmt)
run: |
pre-commit run --config .pre-commit-yamlfmt-config.yaml --all-files

View File

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

View File

@ -0,0 +1,10 @@
---
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

View File

@ -1,15 +1,8 @@
---
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
rev: 0.2.3
hooks:
- id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2']

View File

@ -1,5 +1,5 @@
jsonschema==4.17.3
pre-commit==3.2.1
pytest==7.2.2
pre-commit==3.2.2
pytest==7.3.1
PyYAML==6.0
yamllint==1.30.0
yamllint==1.31.0