2019-05-13 01:16:55 -07:00
|
|
|
[MASTER]
|
|
|
|
ignore=tests
|
2019-10-23 23:18:41 +03:00
|
|
|
# Use a conservative default here; 2 should speed up most setups and not hurt
|
|
|
|
# any too bad. Override on command line as appropriate.
|
2020-08-29 08:59:24 +03:00
|
|
|
# Disabled for now: https://github.com/PyCQA/pylint/issues/3584
|
|
|
|
#jobs=2
|
2020-01-24 23:27:15 +02:00
|
|
|
load-plugins=pylint_strict_informational
|
2019-11-16 10:59:26 +02:00
|
|
|
persistent=no
|
2020-08-07 02:56:28 -04:00
|
|
|
extension-pkg-whitelist=ciso8601,cv2
|
2019-05-13 01:16:55 -07:00
|
|
|
|
|
|
|
[BASIC]
|
2020-07-14 20:37:25 -10:00
|
|
|
good-names=id,i,j,k,ex,Run,_,fp,T,ev
|
2019-05-13 01:16:55 -07:00
|
|
|
|
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
|
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
|
2019-11-19 13:42:09 -06:00
|
|
|
# too-many-ancestors - it's too strict.
|
2019-12-12 15:58:47 +01:00
|
|
|
# wrong-import-order - isort guards this
|
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,
|
2018-02-11 18:20:28 +01:00
|
|
|
inconsistent-return-statements,
|
2017-05-11 09:14:52 +02:00
|
|
|
locally-disabled,
|
|
|
|
not-context-manager,
|
|
|
|
too-few-public-methods,
|
2019-11-19 13:42:09 -06:00
|
|
|
too-many-ancestors,
|
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,
|
2019-11-05 22:39:15 +01:00
|
|
|
too-many-boolean-expressions,
|
2019-12-12 15:58:47 +01:00
|
|
|
unused-argument,
|
|
|
|
wrong-import-order
|
2020-08-29 08:59:24 +03:00
|
|
|
# enable useless-suppression temporarily every now and then to clean them up
|
2019-11-26 08:40:08 +02:00
|
|
|
enable=
|
|
|
|
use-symbolic-message-instead
|
2014-10-09 22:48:22 -07:00
|
|
|
|
2018-06-25 19:55:03 +03:00
|
|
|
[REPORTS]
|
2019-11-16 10:59:26 +02:00
|
|
|
score=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]
|
2019-12-06 22:58:32 +02:00
|
|
|
overgeneral-exceptions=BaseException,Exception,HomeAssistantError
|