From: Daniele Varrazzo Date: Thu, 4 Apr 2024 21:37:10 +0000 (+0000) Subject: docs: add a note to remember why flake8 configuration is repeated X-Git-Tag: 3.2.0~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8832666568d9e827fbde835e3cd5b722361fe1ad;p=thirdparty%2Fpsycopg.git docs: add a note to remember why flake8 configuration is repeated --- diff --git a/.flake8 b/.flake8 index d2473a1ae..35bb95d7c 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,8 @@ +# Note: configuration is repeated in the package directories because flake8 +# will find the setup.cfg there and will not use this file. +# We also need a copy here because running flake8 from the root dir will +# use no configuration file otherwise. So, apologise for the repetitions. + [flake8] max-line-length = 88 ignore = W503, E203, E704