]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
Add flake8 configuration in other package dirs
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 15:57:47 +0000 (16:57 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 2 Jan 2022 15:57:47 +0000 (16:57 +0100)
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)?

psycopg_c/tox.ini
psycopg_pool/tox.ini [new file with mode: 0644]

index a1eb6982278eee5323df664d3985fdf8b580d281..421d3f88b081ab121ae047b07e2ab78c35e0e803 100644 (file)
@@ -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 (file)
index 0000000..75809f6
--- /dev/null
@@ -0,0 +1,3 @@
+[flake8]
+max-line-length = 85
+ignore = W503, E203