ha-core/pylintrc

38 lines
1.1 KiB
INI
Raw Normal View History

2014-10-10 07:48:22 +02:00
[MASTER]
2014-11-12 07:18:35 +01:00
reports=no
2014-10-10 07:48:22 +02:00
2014-11-12 07:18:35 +01:00
# Reasons disabled:
# locally-disabled - it spams too much
# duplicate-code - unavoidable
# cyclic-import - doesn't test if both import on load
# abstract-class-little-used - prevents from setting right foundation
2015-01-04 10:34:48 +01:00
# abstract-class-not-used - is flaky, should not show up but does
2015-01-20 08:40:51 +01:00
# unused-argument - generic callbacks and setup methods create a lot of warnings
2015-07-07 09:01:46 +02:00
# global-statement - used for the on-demand requirement installation
2015-11-29 22:49:05 +01:00
# redefined-variable-type - this is Python, we're duck typing!
# too-many-* - are not enforced for the sake of readability
# too-few-* - same as too-many-*
# abstract-method - with intro of async there are always methods missing
2014-11-23 01:56:36 +01:00
disable=
locally-disabled,
duplicate-code,
cyclic-import,
2015-01-04 10:34:48 +01:00
abstract-class-little-used,
2015-01-20 08:40:51 +01:00
abstract-class-not-used,
2015-07-07 09:01:46 +02:00
unused-argument,
2015-11-29 22:49:05 +01:00
global-statement,
redefined-variable-type,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-locals,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
too-few-public-methods,
abstract-method
2014-10-10 07:48:22 +02:00
[EXCEPTIONS]
overgeneral-exceptions=Exception,HomeAssistantError