From 0c82a1bae03d021bc3a55a44e3458b23d6d95e22 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Fri, 21 Sep 2018 16:45:04 +0200 Subject: [PATCH] Enable several flake8 checkers Former-commit-id: 480806b105fa9df2c8d10102ddd46147e6f30428 --- .isort.cfg | 2 ++ setup.cfg | 2 +- test-requirements.txt | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .isort.cfg create mode 100644 test-requirements.txt diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 00000000..b110a6be --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,2 @@ +[settings] +force_single_line=True diff --git a/setup.cfg b/setup.cfg index 676bc1fa..3150c67c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [flake8] # no need to traverse these directories -exclude = data +exclude = .git,__pycache__,data,tools # ignore line limit error ignore = E501 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..4ad73450 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,7 @@ +flake8==3.5.0 +flake8-isort==2.5 +flake8-quotes==1.0.0 +flake8-coding==1.3.0 +flake8-copyright==0.2.0 +flake8-debugger==3.1.0 +flake8-mypy==17.8.0