1+ [MASTER]
2+ ignore =tests, samples
3+ # Use a conservative default here; 2 should speed up most setups and not hurt
4+ # any too bad. Override on command line as appropriate.
5+ jobs =2
6+ persistent =no
7+ class-naming-style =any
8+
9+ [BASIC]
10+ good-names =id,ex,devices,on,off,scenes,commands
11+
112[MESSAGES CONTROL]
213# Reasons disabled:
14+ # format - handled by black
315# locally-disabled - it spams too much
416# duplicate-code - unavoidable
517# cyclic-import - doesn't test if both import on load
1123# too-few-* - same as too-many-*
1224# abstract-method - with intro of async there are always methods missing
1325# inconsistent-return-statements - doesn't handle raise
14- # not-an-iterable - https://github.com/PyCQA/pylint/issues/2311
15- # invalid-name - intending to fix this in future releases but not now
26+ # unnecessary-pass - readability for functions which only contain pass
27+ # import-outside-toplevel - TODO
28+ # too-many-ancestors - it's too strict.
1629disable =
30+ format,
1731 abstract-class-little-used,
1832 abstract-method,
1933 cyclic-import,
2034 duplicate-code,
35+ fixme,
2136 global-statement,
37+ import-outside-toplevel,
2238 inconsistent-return-statements,
2339 locally-disabled,
24- not-an-iterable,
2540 not-context-manager,
2641 redefined-variable-type,
2742 too-few-public-methods,
43+ too-many-ancestors,
2844 too-many-arguments,
2945 too-many-branches,
3046 too-many-instance-attributes,
@@ -33,16 +49,23 @@ disable=
3349 too-many-public-methods,
3450 too-many-return-statements,
3551 too-many-statements,
52+ too-many-boolean-expressions,
53+ unnecessary-pass,
3654 unused-argument,
3755 invalid-name
3856
57+ enable =
58+ use-symbolic-message-instead
59+
3960[REPORTS]
40- reports =no
61+ score =no
4162
4263[TYPECHECK]
4364# For attrs
4465ignored-classes =_CountingAttr
45- generated-members =botocore.errorfactory
66+
67+ [FORMAT]
68+ expected-line-ending-format =LF
4669
4770[EXCEPTIONS]
48- overgeneral-exceptions =Exception,HomeAssistantError
71+ overgeneral-exceptions =Exception
0 commit comments