From: Daniele Varrazzo Date: Sun, 2 Jan 2022 15:57:47 +0000 (+0100) Subject: Add flake8 configuration in other package dirs X-Git-Tag: pool-3.1~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b104109208f803790f125810ee1d4e1ed54c1c11;p=thirdparty%2Fpsycopg.git Add flake8 configuration in other package dirs Vim ALE is confused otherwise. I don't really get how is that it picks the package directory as the starting one (maybe it finds the setup.py)? --- diff --git a/psycopg_c/tox.ini b/psycopg_c/tox.ini index a1eb69822..421d3f88b 100644 --- a/psycopg_c/tox.ini +++ b/psycopg_c/tox.ini @@ -10,3 +10,7 @@ passenv = PG* PSYCOPG_TEST_DSN PYTEST_ADDOPTS PSYCOPG_IMPL deps = -e {toxinidir}/../psycopg[test] -e {toxinidir}/../psycopg_pool + +[flake8] +max-line-length = 85 +ignore = W503, E203 diff --git a/psycopg_pool/tox.ini b/psycopg_pool/tox.ini new file mode 100644 index 000000000..75809f6a2 --- /dev/null +++ b/psycopg_pool/tox.ini @@ -0,0 +1,3 @@ +[flake8] +max-line-length = 85 +ignore = W503, E203