2019-05-13 01:16:55 -07:00
|
|
|
[MASTER]
|
|
|
|
ignore=tests
|
|
|
|
|
|
|
|
[BASIC]
|
|
|
|
good-names=i,j,k,ex,Run,_,fp
|
|
|
|
|
2018-06-25 19:55:03 +03:00
|
|
|
[MESSAGES CONTROL]
|
2014-11-11 22:18:35 -08:00
|
|
|
# Reasons disabled:
|
2019-07-30 16:59:12 -07:00
|
|
|
# format - handled by black
|
2014-11-11 22:18:35 -08:00
|
|
|
# locally-disabled - it spams too much
|
|
|
|
# duplicate-code - unavoidable
|
|
|
|
# cyclic-import - doesn't test if both import on load
|
2016-10-30 22:18:53 +01:00
|
|
|
# abstract-class-little-used - prevents from setting right foundation
|
2015-01-19 23:40:51 -08:00
|
|
|
# unused-argument - generic callbacks and setup methods create a lot of warnings
|
2015-07-07 00:01:46 -07:00
|
|
|
# global-statement - used for the on-demand requirement installation
|
2015-11-29 13:49:05 -08:00
|
|
|
# redefined-variable-type - this is Python, we're duck typing!
|
2016-10-30 22:18:53 +01:00
|
|
|
# too-many-* - are not enforced for the sake of readability
|
|
|
|
# too-few-* - same as too-many-*
|
2016-11-03 18:32:14 -07:00
|
|
|
# abstract-method - with intro of async there are always methods missing
|
2018-02-11 18:20:28 +01:00
|
|
|
# inconsistent-return-statements - doesn't handle raise
|
2018-07-26 09:55:42 +03:00
|
|
|
# not-an-iterable - https://github.com/PyCQA/pylint/issues/2311
|
2018-12-04 10:45:16 +01:00
|
|
|
# unnecessary-pass - readability for functions which only contain pass
|
2014-11-22 16:56:36 -08:00
|
|
|
disable=
|
2019-07-30 16:59:12 -07:00
|
|
|
format,
|
2015-01-04 01:34:48 -08:00
|
|
|
abstract-class-little-used,
|
2017-05-11 09:14:52 +02:00
|
|
|
abstract-method,
|
|
|
|
cyclic-import,
|
|
|
|
duplicate-code,
|
2015-11-29 13:49:05 -08:00
|
|
|
global-statement,
|
2018-02-11 18:20:28 +01:00
|
|
|
inconsistent-return-statements,
|
2017-05-11 09:14:52 +02:00
|
|
|
locally-disabled,
|
2018-07-26 09:55:42 +03:00
|
|
|
not-an-iterable,
|
2017-05-11 09:14:52 +02:00
|
|
|
not-context-manager,
|
2016-10-30 22:18:53 +01:00
|
|
|
redefined-variable-type,
|
2017-05-11 09:14:52 +02:00
|
|
|
too-few-public-methods,
|
2016-10-30 22:18:53 +01:00
|
|
|
too-many-arguments,
|
|
|
|
too-many-branches,
|
|
|
|
too-many-instance-attributes,
|
2017-05-11 09:14:52 +02:00
|
|
|
too-many-lines,
|
2016-10-30 22:18:53 +01:00
|
|
|
too-many-locals,
|
|
|
|
too-many-public-methods,
|
2016-11-03 04:34:12 +02:00
|
|
|
too-many-return-statements,
|
2016-10-30 22:18:53 +01:00
|
|
|
too-many-statements,
|
2018-12-04 10:45:16 +01:00
|
|
|
unnecessary-pass,
|
2018-08-04 16:22:22 +03:00
|
|
|
unused-argument
|
2014-10-09 22:48:22 -07:00
|
|
|
|
2018-06-25 19:55:03 +03:00
|
|
|
[REPORTS]
|
|
|
|
reports=no
|
2018-05-01 12:20:41 -04:00
|
|
|
|
2018-06-25 19:55:03 +03:00
|
|
|
[TYPECHECK]
|
2018-05-01 12:20:41 -04:00
|
|
|
# For attrs
|
|
|
|
ignored-classes=_CountingAttr
|
2018-06-25 19:55:03 +03:00
|
|
|
|
2018-09-19 16:51:57 +03:00
|
|
|
[FORMAT]
|
|
|
|
expected-line-ending-format=LF
|
|
|
|
|
2018-06-25 19:55:03 +03:00
|
|
|
[EXCEPTIONS]
|
|
|
|
overgeneral-exceptions=Exception,HomeAssistantError
|