From 89f372fa3ce19b416f3880733945fab7f4965721 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 29 Apr 2021 11:10:19 +0000 Subject: [PATCH] setup.cfg: set max line length in pycodestyle Move the max-line-length setting to the `pycodestyle` section, which is read by pylint but also other tools like autopep8. --- setup.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 66675bc2..c75bf968 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,11 @@ [pylint.MASTER] disable=missing-docstring,too-few-public-methods,invalid-name,duplicate-code,superfluous-parens,too-many-locals,attribute-defined-outside-init,too-many-arguments -max-line-length=120 [pylint.TYPECHECK] ignored-classes=osbuild.loop.LoopInfo [pylint.DESIGN] max-attributes=10 + +[pycodestyle] +max-line-length = 120