From 359f4e62f68b9d55eef6bdb211918f66769bdb0f Mon Sep 17 00:00:00 2001 From: James Cooke Date: Fri, 13 Apr 2018 17:28:08 +0100 Subject: [PATCH] Extract all linter config into setup.cfg --- .style.yapf | 3 --- .isort.cfg => setup.cfg | 9 ++++++++- tox.ini | 2 -- 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 .style.yapf rename .isort.cfg => setup.cfg (53%) diff --git a/.style.yapf b/.style.yapf deleted file mode 100644 index 390378d..0000000 --- a/.style.yapf +++ /dev/null @@ -1,3 +0,0 @@ -[style] -dedent_closing_brackets = true -column_limit = 120 diff --git a/.isort.cfg b/setup.cfg similarity index 53% rename from .isort.cfg rename to setup.cfg index 8cecf06..dbb65e4 100644 --- a/.isort.cfg +++ b/setup.cfg @@ -1,6 +1,13 @@ -[settings] +[isort] include_trailing_comma=True known_first_party=flake8_aaa line_length=120 multi_line_output=3 not_skip=__init__.py + +[flake8] +max-line-length = 120 + +[yapf] +dedent_closing_brackets = true +column_limit = 120 diff --git a/tox.ini b/tox.ini index e60c380..a562e6e 100644 --- a/tox.ini +++ b/tox.ini @@ -12,5 +12,3 @@ commands = test: pytest lint: make lint whitelist_externals = make -[flake8] -max-line-length = 120