pylint: move config to setup.cfg

This is what we do in osbuild, lets do it here too, so we are in
sync about where the configuration is.
This commit is contained in:
Christian Kellner 2022-01-24 09:15:59 +00:00
parent 07b376e02f
commit bbf8b74047
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +0,0 @@
[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

9
setup.cfg Normal file
View file

@ -0,0 +1,9 @@
[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,consider-using-with,consider-using-from-import
[pylint.DESIGN]
max-attributes=10
max-statements=75
[pycodestyle]
max-line-length = 120