From cf8fa693b86befe4bc2fa8d1612e33fffa745cd5 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 15 Feb 2020 12:15:44 +0000 Subject: [PATCH] Change flake8 config to make it easier to run locally --- .circleci/config.yml | 3 +-- setup.cfg | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4914ed1a..a532df33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,8 +12,7 @@ jobs: command: sudo python -m pip install flake8 - run: name: Test. - command: flake8 --exclude=.git,.venv,site . - + command: flake8 . osx-python3.6: macos: xcode: "9.4.1" diff --git a/setup.cfg b/setup.cfg index 6c170e29..4346b720 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,3 +22,12 @@ universal = 1 [flake8] ignore = E501,W503 application-import-names = cibuildwheel +exclude = + cibuildwheel/resources/, + dist/, + build/, + .git/, + env/, + env2/, + .venv/, + site/