Debian Codegraph @

pylintrc

raw
1 [MASTER]
2 ignore=tests
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 load-plugins=pylint_strict_informational
7 persistent=no
8 extension-pkg-whitelist=ciso8601
9
10 [BASIC]
11 good-names=id,i,j,k,ex,Run,_,fp,T,ev
12
13 [MESSAGES CONTROL]
14 # Reasons disabled:
15 # format - handled by black
16 # locally-disabled - it spams too much
17 # duplicate-code - unavoidable
18 # cyclic-import - doesn't test if both import on load
19 # abstract-class-little-used - prevents from setting right foundation
20 # unused-argument - generic callbacks and setup methods create a lot of warnings
21 # too-many-* - are not enforced for the sake of readability
22 # too-few-* - same as too-many-*
23 # abstract-method - with intro of async there are always methods missing
24 # inconsistent-return-statements - doesn't handle raise
25 # too-many-ancestors - it's too strict.
26 # wrong-import-order - isort guards this
27 disable=
28 format,
29 abstract-class-little-used,
30 abstract-method,
31 cyclic-import,
32 duplicate-code,
33 inconsistent-return-statements,
34 locally-disabled,
35 not-context-manager,
36 too-few-public-methods,
37 too-many-ancestors,
38 too-many-arguments,
39 too-many-branches,
40 too-many-instance-attributes,
41 too-many-lines,
42 too-many-locals,
43 too-many-public-methods,
44 too-many-return-statements,
45 too-many-statements,
46 too-many-boolean-expressions,
47 unused-argument,
48 wrong-import-order
49 enable=
50 use-symbolic-message-instead
51
52 [REPORTS]
53 score=no
54
55 [TYPECHECK]
56 # For attrs
57 ignored-classes=_CountingAttr
58
59 [FORMAT]
60 expected-line-ending-format=LF
61
62 [EXCEPTIONS]
63 overgeneral-exceptions=BaseException,Exception,HomeAssistantError