From 9cf5c3930b342ee2087b0c68c07dfcaebb9cddc9 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Wed, 28 Aug 2024 18:16:27 -0400 Subject: [PATCH] chore: Move Flake8 configuration from `setup.cfg` to its own file --- .flake8 | 20 ++++++++++++++++++++ setup.cfg | 21 --------------------- 2 files changed, 20 insertions(+), 21 deletions(-) create mode 100644 .flake8 diff --git a/.flake8 b/.flake8 new file mode 100644 index 00000000..7b8f6f64 --- /dev/null +++ b/.flake8 @@ -0,0 +1,20 @@ +[flake8] +ignore = + # W503 line break before binary operator + W503 + +exclude = + *.egg-info/, + .git/, + .mypy_cache/, + .pyenvs/, + __pycache__/, + build/, + dist/, + docs/ + +max-line-length = 100 + +doctests = True +show-source = True +statistics = True diff --git a/setup.cfg b/setup.cfg index 3746bf09..57612edb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,24 +19,3 @@ output = test-reports/coverage/xml/coverage.xml [coverage:html] directory = test-reports/coverage/html - -[flake8] -ignore = - # W503 line break before binary operator - W503 - -exclude = - *.egg-info/, - .git/, - .mypy_cache/, - .pyenvs/, - __pycache__/, - build/, - dist/, - docs/ - -max-line-length = 100 - -doctests = True -show-source = True -statistics = True