add flake8 config
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-03-21 16:33:21 +01:00
parent 9832bbf68b
commit ba045bca12
2 changed files with 7 additions and 1 deletions

6
.flake8 Normal file
View File

@ -0,0 +1,6 @@
[flake8]
ignore = D101, D102, D103, D105, D107, E402, W503
max-line-length = 99
inline-quotes = double
exclude = .git,.tox,__pycache__,build,dist,tests,*.pyc,*.egg-info,.cache,.eggs,env*
format = ${cyan}%(path)s:%(row)d:%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s

View File

@ -9,7 +9,7 @@ platforms:
image_id: centos-7-x64 image_id: centos-7-x64
size_id: s-1vcpu-1gb size_id: s-1vcpu-1gb
lint: | lint: |
flake8 --max-line-length=99 flake8
provisioner: provisioner:
name: ansible name: ansible
verifier: verifier: