From 53002760fcf9c4a63b47c33d436c501b2a0c6f16 Mon Sep 17 00:00:00 2001 From: Justin Gilmer Date: Thu, 18 May 2023 17:16:34 -0500 Subject: [PATCH] Ignore flake8 as part of testing pytest-flake8 seems to have issues with the later versions of flake8 https://github.com/tholo/pytest-flake8/issues/92 --- setup.cfg | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index cded2bd..76684f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,8 +6,10 @@ license_file = LICENSE.txt test=pytest [tool:pytest] -addopts = --cov=btrdb --flake8 +addopts = --cov=btrdb python_files = tests/* + +[flake8] flake8-ignore = E111 E114 @@ -39,5 +41,7 @@ flake8-ignore = W293 W391 tests/* ALL - btrdb/grpcinterface/btrdb_pb2.py UnusedImport - btrdb/__init__.py UnusedImport + btrdb/grpcinterface/btrdb_pb2.py ALL + btrdb/__init__.py ALL + setup.py ALL +