Add script to run linters.

The scprit `lint_check.sh` under utils runs the same linters as the
Github Actions, with the same configuration.

The changes on setup.cfg are required if flake8-docstrings is used,
so its output is the same as pydocstlye.
This commit is contained in:
Rafael Guterres Jeffman
2020-09-01 16:32:51 -03:00
parent 121f59bba7
commit b7900f1c64
2 changed files with 27 additions and 1 deletions

View File

@@ -22,7 +22,8 @@ data_files =
/usr/share/ansible/roles/ipareplica = roles/ipareplica/*
[flake8]
extend-ignore = E203
extend-ignore = E203, D1, D212, D203, D400, D401
exclude = .git,__pycache__,.tox,.venv
per-file-ignores =
plugins/*:E402
roles/*:E402