add comprehensive linting: yamllint, flake8, black, isort, shellcheck, and markdownlint
This commit is contained in:
parent
0b28b83d04
commit
508a9beec9
3 changed files with 183 additions and 3 deletions
31
.yamllint
Normal file
31
.yamllint
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
extends: default
|
||||
|
||||
rules:
|
||||
# Line length
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
||||
|
||||
# Document start
|
||||
document-start: disable
|
||||
|
||||
# Trailing spaces
|
||||
trailing-spaces: enable
|
||||
|
||||
# Truthy values
|
||||
truthy:
|
||||
check-keys: false
|
||||
|
||||
# Comments
|
||||
comments:
|
||||
min-spaces-from-content: 1
|
||||
|
||||
# Indentation
|
||||
indentation:
|
||||
spaces: 2
|
||||
indent-sequences: true
|
||||
|
||||
# Empty lines
|
||||
empty-lines:
|
||||
max: 1
|
||||
max-end: 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue