e5e7a097b1
- rename pep8 target to more generic linters - migrates flake8 execution to pre-commit - adds yaml linting - hardening flake8 rules - setting max-line-lengh to 120 instead of ignoring it. - bumped minimal sphinx version - configured sphinx with warnings as errors Change-Id: I4c598c07297ae6a2160ba6754cec860adbfeb6f2 Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
15 lines
327 B
YAML
15 lines
327 B
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v1.3.0
|
|
hooks:
|
|
- id: flake8
|
|
- id: check-yaml
|
|
files: .*\.(yaml|yml)$
|
|
# args: [--unsafe]
|
|
- repo: https://github.com/adrienverge/yamllint.git
|
|
rev: v1.11.1
|
|
hooks:
|
|
- id: yamllint
|
|
files: \.(yaml|yml)$
|