add flake8 config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2020-03-21 16:33:21 +01:00
parent f9b58c7a5e
commit 0ad83842d7
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
size_id: s-1vcpu-1gb
lint: |
flake8 --max-line-length=99
flake8
provisioner:
name: ansible
verifier: