forked from iqm-finland/KQCircuits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
47 lines (43 loc) · 1.33 KB
/
.pylintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[BASIC]
# allow short names, but require snake_case
argument-rgx=[a-z_][a-z0-9_]{0,30}
attr-rgx=[a-z_][a-z0-9_]{0,30}
const-rgx=[a-zA-Z_][a-zA-Z0-9_]{0,30}
variable-rgx=[a-z_][a-z0-9_]{0,30}
[FORMAT]
max-line-length=120
max-public-methods=30
[TYPECHECK]
# otherwise all usages of pya and klayout.db cause warnings
ignored-modules=pya,klayout.db
[VARIABLES]
# Define built-in variables for Ansys
additional-builtins=_version, oDesktop, ScriptArgument
[MESSAGES CONTROL]
disable=
arguments-differ,
attribute-defined-outside-init, # PCell attributes are not in __init__()
# but defined with the Param descriptor class
disallowed-name,
duplicate-code,
fixme,
import-error, # false positives for simulation scripts
logging-fstring-interpolation,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-return,
no-member, # false positives for example in simulations and __log calls
protected-access, # problems with _log
redefined-outer-name,
too-few-public-methods,
too-many-arguments,
too-many-boolean-expressions,
too-many-branches,
too-many-format-args,
too-many-instance-attributes,
too-many-locals,
too-many-nested-blocks,
too-many-return-statements,
too-many-statements,
too-many-lines,