From 9bc321fe1bf362298378aa7451ba0eb9eceb2c54 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Feb 2019 20:47:34 +0000 Subject: [PATCH] Move lint configuration into setup.cfg --- scripts/test.sh | 4 ++-- setup.cfg | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index c28f18c..dba6711 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -6,7 +6,7 @@ echo "> Running isort" isort -rc -c actioner/ echo "> Running mypy" -mypy --ignore-missing-imports actioner/ +mypy actioner/ echo "> Running flake8" -flake8 --extend-ignore=E128,E501 actioner +flake8 actioner diff --git a/setup.cfg b/setup.cfg index 7ea6612..45221cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,8 @@ +[flake8] +extend_ignore=E128,E501 + [isort] not_skip = __init__.py + +[mypy] +ignore_missing_imports = true