diff options
-rw-r--r-- | .yamllint | 7 | ||||
-rwxr-xr-x | bin/lint | 3 | ||||
-rw-r--r-- | requirements.txt | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..25e5d42 --- /dev/null +++ b/.yamllint @@ -0,0 +1,7 @@ +extends: default + +rules: + braces: + min-spaces-inside: 0 + max-spaces-inside: 1 + document-start: disable diff --git a/bin/lint b/bin/lint new file mode 100755 index 0000000..712c950 --- /dev/null +++ b/bin/lint @@ -0,0 +1,3 @@ +#! /usr/bin/env sh + +yamllint -s `find . -name '*.yml' -not -path '*.env*'` diff --git a/requirements.txt b/requirements.txt index f2dc778..37b32db 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,8 @@ cryptography==41.0.7 Jinja2==3.1.2 MarkupSafe==2.1.3 packaging==23.2 +pathspec==0.12.1 pycparser==2.21 PyYAML==6.0.1 resolvelib==1.0.1 +yamllint==1.35.1 |