diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 11:22:10 +0100 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2021-03-02 11:30:48 +0100 |
commit | 33c67cb1d12ec43346cd6971bfdcf9561e718fa0 (patch) | |
tree | acb89525f076605998e0f8ec5a0d3afc37c72dca | |
parent | 82025b32e75e724dac99350a5d6a84782f7484b3 (diff) | |
download | semantic-version-33c67cb1d12ec43346cd6971bfdcf9561e718fa0.tar.gz |
Move flake8 configuration to setup.cfg
-rw-r--r-- | .flake8 | 4 | ||||
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | setup.cfg | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/.flake8 b/.flake8 deleted file mode 100644 index eceea15..0000000 --- a/.flake8 +++ /dev/null @@ -1,4 +0,0 @@ -[flake8] -# Ignore "and" at start of line. -ignore = W503 -max-line-length = 120 @@ -59,8 +59,8 @@ check-manifest: # Note: we run the linter in two runs, because our __init__.py files has specific warnings we want to exclude # DOC: Verify code quality flake8: - $(FLAKE8) --config .flake8 --exclude $(PACKAGE)/__init__.py $(PACKAGE) $(TESTS_DIR) setup.py - $(FLAKE8) --config .flake8 --ignore F401 $(PACKAGE)/__init__.py + $(FLAKE8) --exclude $(PACKAGE)/__init__.py $(PACKAGE) $(TESTS_DIR) setup.py + $(FLAKE8) --ignore F401 $(PACKAGE)/__init__.py # DOC: Run tests with coverage collection coverage: @@ -58,3 +58,8 @@ version-levels = 3 [distutils] index-servers = pypi + +[flake8] +# Ignore "and" at start of line. +ignore = W503 +max-line-length = 120 |