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