Debian Codegraph @

.pylintrc

raw
1 [MASTER]
2 ignore-paths=^src/tests/.*$,
3 ^test/.*$,
4 ^tools/.*$,
5 ^docs/.*$,
6 ^site/.*$
7
8 ignore=test/
9
10 load-plugins=
11 pylint.extensions.docparams,
12 pylint.extensions.mccabe
13
14 generated-members=orjson.*
15
16 [BASIC]
17 good-names=i,j,k,x,r,e,v,_,b,dt,d
18
19 [MESSAGES CONTROL]
20 # Reasons disabled:
21 # format - handled by black
22 # locally-disabled - it spams too much
23 # duplicate-code - unavoidable
24 # cyclic-import - doesn't test if both import on load
25 # abstract-class-little-used - prevents from setting right foundation
26 # unused-argument - generic callbacks and setup methods create a lot of warnings
27 # global-statement - used for the on-demand requirement installation
28 # redefined-variable-type - this is Python, we're duck typing!
29 # too-many-* - are not enforced for the sake of readability
30 # too-few-* - same as too-many-*
31 # abstract-method - with intro of async there are always methods missing
32 # inconsistent-return-statements - doesn't handle raise
33 # not-an-iterable - https://github.com/PyCQA/pylint/issues/2311
34 # unnecessary-pass - readability for functions which only contain pass
35
36 disable=
37 format,
38 abstract-method,
39 arguments-differ,
40 broad-exception-caught,
41 cyclic-import,
42 duplicate-code,
43 fixme,
44 global-statement,
45 inconsistent-return-statements,
46 invalid-name,
47 locally-disabled,
48 not-an-iterable,
49 too-few-public-methods,
50 too-many-arguments,
51 too-many-branches,
52 too-many-instance-attributes,
53 too-many-lines,
54 too-many-locals,
55 too-many-positional-arguments,
56 too-many-public-methods,
57 too-many-return-statements,
58 too-many-statements,
59 too-complex,
60 wildcard-import,
61 unused-wildcard-import,
62 unnecessary-pass,
63 unused-argument,
64 useless-super-delegation,
65
66 [REPORTS]
67 #reports=no
68
69 [TYPECHECK]
70
71 [FORMAT]
72 expected-line-ending-format=LF
73 max-line-length=90