1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-05 23:10:12 +00:00
trezor-firmware/.pylintrc
matejcik 3d4292e069 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
2023-11-30 09:27:57 +01:00

38 lines
876 B
INI

[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,