Skip to content

Commit

Permalink
Add check-github-workflows pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
bergercookie committed Apr 18, 2022
1 parent c27635d commit 8d4c69a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ repos:
entry: mdl -r ~MD033,~MD013
- repo: local
hooks:
- id: check-github-workflows
name: Validate GitHub Workflows
description: 'Validate GitHub Workflows against the schema provided by SchemaStore'
entry: check-jsonschema --builtin-schema vendor.github-workflows
language: python
files: ^\.github/workflows/
types: [yaml]
- id: black
name: Black formatter
description: "Black: The uncompromising Python code formatter"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ pyright = "*"
pytest = "*"
types-PyYAML = "^5.4.1"
types-python-dateutil = "^2.8.3"

coveralls = "^3.3.1"
coverage = "^6.2"
pycln = "^1.3.1"
check-jsonschema = "^0.14.3"
# isort ------------------------------------------------------------------------
[tool.isort]
line_length = 95
Expand Down

0 comments on commit 8d4c69a

Please sign in to comment.