Skip to content
Snippets Groups Projects
Unverified Commit 12638369 authored by Daniel W. Anner's avatar Daniel W. Anner Committed by GitHub
Browse files

Dependencies updates for May 2023 (#1326)

* Dependencies updates for May 2023

* adding updates to pre-commit and validation

* updating pre-commit config
parent 840b0210
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,9 @@ jobs: ...@@ -19,6 +19,9 @@ jobs:
run: | run: |
yamllint --format github --strict \ yamllint --format github --strict \
device-types/ module-types/ 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) - name: Format YAML files (yamlfmt)
run: | run: |
pre-commit run --config .pre-commit-yamlfmt-config.yaml --all-files pre-commit run --config .pre-commit-yamlfmt-config.yaml --all-files
......
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
files: ^(device-types|module-types)/ files: ^(device-types|module-types)/
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
- id: check-yaml - id: check-yaml
name: Check YAML files name: Check YAML files
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.2 rev: 0.2.3
hooks: hooks:
- id: yamlfmt - id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2'] args: [--mapping, '2', --sequence, '4', --offset, '2']
- repo: https://github.com/adrienverge/yamllint.git - repo: https://github.com/adrienverge/yamllint.git
rev: v1.27.1 rev: v1.31.0
hooks: hooks:
- id: yamllint - id: yamllint
name: Lint YAML files name: Lint YAML files
......
---
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
\ No newline at end of file
--- ---
files: ^(device-types|module-types)/ files: ^(device-types|module-types)/
repos: 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 - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.2 rev: 0.2.3
hooks: hooks:
- id: yamlfmt - id: yamlfmt
args: [--mapping, '2', --sequence, '4', --offset, '2'] args: [--mapping, '2', --sequence, '4', --offset, '2']
jsonschema==4.17.3 jsonschema==4.17.3
pre-commit==3.2.1 pre-commit==3.2.2
pytest==7.2.2 pytest==7.3.1
PyYAML==6.0 PyYAML==6.0
yamllint==1.30.0 yamllint==1.31.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment