Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 8730e40

Browse files
Merge branch 'BlueBrain:main' into copyright_updater_2024
2 parents 6f3abd3 + c6a9f38 commit 8730e40

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

pylintrc

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## look at http://docutils.sourceforge.net/sandbox/py-rest-doc/utils/pylintrc
2+
# for some of the options that are available
3+
4+
[MESSAGES CONTROL]
5+
#R0401 - cyclic-import
6+
disable=R0401
7+
8+
[FORMAT]
9+
# Maximum number of characters on a single line.
10+
max-line-length=100
11+
12+
[DESIGN]
13+
# Maximum number of arguments for function / method
14+
max-args=8
15+
# Argument names that match this expression will be ignored. Default to name
16+
# with leading underscore
17+
ignored-argument-names=_.*
18+
# Maximum number of locals for function / method body
19+
max-locals=15
20+
# Maximum number of return / yield for function / method body
21+
max-returns=6
22+
# Maximum number of branch for function / method body
23+
max-branches=12
24+
# Maximum number of statements in function / method body
25+
max-statements=50
26+
# Maximum number of parents for a class (see R0901).
27+
max-parents=7
28+
# Maximum number of attributes for a class (see R0902).
29+
max-attributes=40
30+
# Minimum number of public methods for a class (see R0903).
31+
min-public-methods=2
32+
# Maximum number of public methods for a class (see R0904).
33+
max-public-methods=60
34+
# checks for similarities and duplicated code. This computation may be
35+
# memory / CPU intensive, so you should disable it if you experiments some
36+
# problems.
37+
#
38+
39+
[SIMILARITIES]
40+
# Minimum lines number of a similarity.
41+
min-similarity-lines=25
42+
# Ignore comments when computing similarities.
43+
ignore-comments=yes
44+
# Ignore docstrings when computing similarities.
45+
ignore-docstrings=yes
46+
47+
[TYPECHECK]
48+
# List of classes names for which member attributes should not be checked
49+
# (useful for classes with attributes dynamically set).
50+
#ignored-classes=foo.bar
51+
52+
# List of module names for which member attributes should not be checked
53+
# (useful for modules/projects where namespaces are manipulated during runtime
54+
# and thus existing member attributes cannot be deduced by static analysis. It
55+
# supports qualified module names, as well as Unix pattern matching.
56+
ignored-modules=numpy,numpy.*

0 commit comments

Comments
 (0)