From e54e9f2347025a2ab9d32081d12746796b30d3cd Mon Sep 17 00:00:00 2001 From: Poolitzer <25934244+Poolitzer@users.noreply.github.com> Date: Mon, 14 Oct 2019 01:10:51 -0700 Subject: [PATCH] moving flake config to one file (#1546) --- .pre-commit-config.yaml | 3 --- setup.cfg | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0043a1f2b..46910487d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,9 +10,6 @@ repos: sha: 0b70e285e369bcb24b57b74929490ea7be9c4b19 hooks: - id: flake8 - exclude: ^(setup.py|docs/source/conf.py)$ - args: - - --ignore=W605,W503 - repo: git://github.com/pre-commit/mirrors-pylint sha: 9d8dcbc2b86c796275680f239c1e90dcd50bd398 hooks: diff --git a/setup.cfg b/setup.cfg index 54e2ecdbd..e30e2fdac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,7 +14,8 @@ upload-dir = docs/build/html [flake8] max-line-length = 99 -ignore = W503 +ignore = W503, W605 +exclude = setup.py, docs/source/conf.py [yapf] based_on_style = google