Skip to content

Commit

Permalink
Merge pull request #43 from epenet/yamllint
Browse files Browse the repository at this point in the history
Add yamllint to CI
  • Loading branch information
xchwarze authored Feb 23, 2022
2 parents 14f1aad + 554035a commit d112ca4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Run Lint and Python Tests

# yamllint disable-line rule:truthy
on:
pull_request:
push:
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ repos:
rev: 5.10.0
hooks:
- id: isort
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
hooks:
- id: yamllint
7 changes: 7 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
extends: default

rules:
braces:
max-spaces-inside: 1
document-start:
present: false

0 comments on commit d112ca4

Please sign in to comment.