-
Notifications
You must be signed in to change notification settings - Fork 3
/
.pylintrc
82 lines (79 loc) · 2.24 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[MASTER]
# Rules reference:
# https://pylint.pycqa.org/en/latest/technical_reference/features.html
# Begins with the statements ignored by default
disable=raw-checker-failed,
bad-inline-option,
locally-disabled,
file-ignored,
suppressed-message,
useless-suppression,
deprecated-pragma,
use-symbolic-message-instead,
# TODO: Ignore docstrings temporarily
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
# Rules we ignore that are not ignored by default
too-many-positional-arguments,
too-many-instance-attributes,
too-many-return-statements,
too-many-arguments,
too-many-locals,
too-many-branches,
too-few-public-methods,
too-many-public-methods,
too-many-lines,
fixme,
unsupported-assignment-operation, # Buggy with NewType objects
unsubscriptable-object, # Buggy with NewType objects
no-member, # Buggy with NewType objects
consider-using-f-string,
unspecified-encoding,
ignore=injected_glc_phosphorylation.py,
ecoli_shape_deriver.py,
injector.py,
topology.py,
make_network.py,
pretty.py,
glucose_phosphorylation.py,
path.py,
divide_condition.py,
agents_multigen.py,
exponential.py,
burst.py,
dict_utils.py,
tree_mass.py,
filepath.py,
exchange_a.py,
registry.py,
units.py,
datum.py,
engulf.py,
template_process.py,
derive_counts.py,
meta_division.py,
remove.py,
timeseries.py,
simulation_output.py,
swap_processes.py,
schema.py,
timeline.py,
derive_concentrations.py,
nonspatial_environment.py,
store.py,
wrappers.py,
composition.py,
# Good variable names which should be accepted
good-names=pp,pf,_,
load-plugins=pylint.extensions.no_self_use
[BASIC]
no-docstring-rgx=(^_)|(^[Tt]est)
max-line-length=80
max-module-lines=1200
attr-rgx=^[a-z_][a-z0-9]*((_[a-z0-9]+)*)?$
variable-rgx=^[a-z][a-z0-9]*((_[a-z0-9]+)*)?$
argument-rgx=^[a-z][a-z0-9]*((_[a-z0-9]+)*)?$
include-naming-hint=yes
max-statements=70
max-nested-blocks=6