diff --git a/ansible/.editorconfig b/.editorconfig similarity index 100% rename from ansible/.editorconfig rename to .editorconfig diff --git a/Pipfile b/Pipfile new file mode 100644 index 000000000..f2907985c --- /dev/null +++ b/Pipfile @@ -0,0 +1,14 @@ +[[source]] +url = "https://pypi.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +ansible = "*" +"flake8" = "*" +"flake8-import-order" = "*" + +[dev-packages] + +[requires] +python_version = "3.7" diff --git a/ansible/plugins/inventory/nodejs_yaml.py b/ansible/plugins/inventory/nodejs_yaml.py index bb3b0e990..4bd41f927 100755 --- a/ansible/plugins/inventory/nodejs_yaml.py +++ b/ansible/plugins/inventory/nodejs_yaml.py @@ -295,9 +295,8 @@ def has_metadata(info): if __name__ == "__main__": - parser = argparse.ArgumentParser() - parser.add_argument('--list', action='store_true') - parser.add_argument('--host', action='store') - args = parser.parse_args() - + # parser = argparse.ArgumentParser() + # parser.add_argument('--list', action='store_true') + # parser.add_argument('--host', action='store') + # args = parser.parse_args() main() diff --git a/jenkins/scripts/coverage/generate-index-html.py b/jenkins/scripts/coverage/generate-index-html.py index 9ffd94a84..5020e8c59 100755 --- a/jenkins/scripts/coverage/generate-index-html.py +++ b/jenkins/scripts/coverage/generate-index-html.py @@ -6,6 +6,7 @@ with open('out/index.csv') as index: index_csv = filter(lambda line: line, index.read().split('\n')) +# noqa with open('out/index.html', 'w') as out: out.write(''' diff --git a/setup/www/host_vars/.gitignore b/setup/www/host_vars/.gitignore index 22cdad5a0..7157cb3bb 100644 --- a/setup/www/host_vars/.gitignore +++ b/setup/www/host_vars/.gitignore @@ -1 +1,2 @@ -infra-* \ No newline at end of file +infra-* +!node-www.tmpl