From 48bb43b91a992395a39ebf8d41389dd3667c38b8 Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Mon, 26 Feb 2018 22:22:16 +0100 Subject: remove snekchek and replace with flake8 (#27) --- .snekrc | 7 ------- .travis.yml | 2 +- requirements-ci.txt | 3 --- tox.ini | 4 ++++ 4 files changed, 5 insertions(+), 11 deletions(-) delete mode 100644 .snekrc create mode 100644 tox.ini diff --git a/.snekrc b/.snekrc deleted file mode 100644 index 5aabe4e0..00000000 --- a/.snekrc +++ /dev/null @@ -1,7 +0,0 @@ -[all] -linters = flake8, safety, dodgy - -[flake8] -max-line-length=120 -application_import_names=pysite -ignore=P102 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 376c1604..52cccc0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - pip install -r requirements.txt - pip install -r requirements-ci.txt script: - - snekchek + - flake8 - py.test app_test.py --cov pysite --cov-report term-missing -v - coveralls after_success: diff --git a/requirements-ci.txt b/requirements-ci.txt index 0ce27166..f10a0b78 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -1,12 +1,9 @@ -snekchek flake8 flake8-bugbear flake8-bandit flake8-import-order flake8-tidy-imports flake8-string-format -safety -dodgy requests Flask-Testing pytest diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..561a1ad4 --- /dev/null +++ b/tox.ini @@ -0,0 +1,4 @@ +[flake8] +max-line-length=120 +application_import_names=pysite +ignore=P102 -- cgit v1.2.3