From 17102ebe267fe41a1b478eeab634bda0e50b6b39 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 15 May 2020 10:56:03 +0200 Subject: [PATCH] fix ci setup --- .flake8 | 5 +++++ molecule/centos7/molecule.yml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..b41e1fc --- /dev/null +++ b/.flake8 @@ -0,0 +1,5 @@ +[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* diff --git a/molecule/centos7/molecule.yml b/molecule/centos7/molecule.yml index c19dab0..18d0a83 100644 --- a/molecule/centos7/molecule.yml +++ b/molecule/centos7/molecule.yml @@ -9,8 +9,11 @@ platforms: image_id: centos-7-x64 size_id: s-1vcpu-1gb lint: | - flake8 --max-line-length=99 + flake8 provisioner: name: ansible + env: + ANSIBLE_FILTER_PLUGINS: ${ANSIBLE_FILTER_PLUGINS:-./plugins/filter} + ANSIBLE_LIBRARY: ${ANSIBLE_LIBRARY:-./library} verifier: name: testinfra