From a637294ba3226ab842198edda109989f8f89c0fc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 21 Mar 2020 16:33:21 +0100 Subject: [PATCH] add flake8 config --- .flake8 | 6 ++++++ molecule/centos7/molecule.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..8ebdc27 --- /dev/null +++ b/.flake8 @@ -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 diff --git a/molecule/centos7/molecule.yml b/molecule/centos7/molecule.yml index 36f8a06..7c751dd 100644 --- a/molecule/centos7/molecule.yml +++ b/molecule/centos7/molecule.yml @@ -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: