chore: move pylint config from setup.cfg to .pylintrc

multiple bugreports complain about poor support for setup.cfg
for instance, the load-plugins rule is ignored in setup.cfg
pull/3426/head
matejcik 5 months ago committed by matejcik
parent f0d6539d3d
commit 3d4292e069

@ -0,0 +1,37 @@
[MASTER]
ignore-paths=
core/src/all_modules.py,
core/src/apps/ethereum/tokens.py,
core/src/trezor/res/resources.py,
core/src/trezor/messages.py,
core/src/trezor/enums,
crypto,
legacy,
storage,
fail-under=10.0
jobs=0
load-plugins=trezor_pylint_plugin
[MESSAGE CONTROL]
disable=all
enable=
bad-plugin-value,
assignment-from-none,
chained-comparison,
consider-merging-isinstance,
consider-using-dict-comprehension,
consider-using-dict-items,
consider-using-f-string,
consider-using-in,
dangerous-default-value,
inconsistent-return-statements,
lost-exception,
pointless-string-statement,
simplifiable-if-statement,
super-init-not-called,
superfluous-parens,
unused-variable,
use-list-literal,
useless-else-on-loop,
useless-object-inheritance,
async-awaitable-return,

@ -42,38 +42,3 @@ warn_unused_ignores = True
show_error_codes = True
# type union operator support, should be removed after 3.10 is the default
python_version = 3.10
[pylint.MASTER]
ignore-paths=
core/src/all_modules.py,
core/src/apps/ethereum/tokens.py,
core/src/trezor/res/resources.py,
core/src/trezor/messages.py,
core/src/trezor/enums,
crypto,
legacy,
storage,
fail-under=10.0
jobs=0
[pylint."MESSAGE CONTROL"]
disable=all
enable=
assignment-from-none,
chained-comparison,
consider-merging-isinstance,
consider-using-dict-comprehension,
consider-using-dict-items,
consider-using-f-string,
consider-using-in,
dangerous-default-value,
inconsistent-return-statements,
lost-exception,
pointless-string-statement,
simplifiable-if-statement,
super-init-not-called,
superfluous-parens,
unused-variable,
use-list-literal,
useless-else-on-loop,
useless-object-inheritance,

Loading…
Cancel
Save