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.
This commit is contained in:
Christian Kellner 2021-04-29 11:10:19 +00:00 committed by Achilleas Koutsou
parent 6567b8f932
commit 89f372fa3c

View file

@ -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