mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-22 14:45:28 +00:00
Pylint: silence locally-disabled/enabled messages
If we disable or enable a message locally, it's by design. There's no need to clutter the Pylint output with this information. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
867ab917db
commit
11b0269696
|
@ -40,6 +40,9 @@ max-attributes=15
|
||||||
max-module-lines=2000
|
max-module-lines=2000
|
||||||
|
|
||||||
[MESSAGES CONTROL]
|
[MESSAGES CONTROL]
|
||||||
|
# * locally-disabled, locally-enabled: If we disable or enable a message
|
||||||
|
# locally, it's by design. There's no need to clutter the Pylint output
|
||||||
|
# with this information.
|
||||||
# * logging-format-interpolation: Pylint warns about things like
|
# * logging-format-interpolation: Pylint warns about things like
|
||||||
# ``log.info('...'.format(...))``. It insists on ``log.info('...', ...)``.
|
# ``log.info('...'.format(...))``. It insists on ``log.info('...', ...)``.
|
||||||
# This is of minor utility (mainly a performance gain when there are
|
# This is of minor utility (mainly a performance gain when there are
|
||||||
|
@ -57,7 +60,7 @@ max-module-lines=2000
|
||||||
# return value2
|
# return value2
|
||||||
# * unnecessary-pass: If we take the trouble of adding a line with "pass",
|
# * unnecessary-pass: If we take the trouble of adding a line with "pass",
|
||||||
# it's because we think the code is clearer that way.
|
# it's because we think the code is clearer that way.
|
||||||
disable=logging-format-interpolation,no-else-return,unnecessary-pass
|
disable=locally-disabled,locally-enabled,logging-format-interpolation,no-else-return,unnecessary-pass
|
||||||
|
|
||||||
[REPORTS]
|
[REPORTS]
|
||||||
# Don't diplay statistics. Just the facts.
|
# Don't diplay statistics. Just the facts.
|
||||||
|
|
Loading…
Reference in a new issue