From 4da5a42159e2a56aa7459d8f44a2a5cd1ed74c0b 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 094318c..884de89 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: