-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pylintrc
46 lines (28 loc) · 1.06 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
# Copyright (c) 2023 MDSANIMA
# This is a configuration file for Python package code linting.
[MASTER]
# Add files or directories to the blacklist. They should be base names, not paths.
ignore=.git,flake8.egg-info,conf.py
# Add files or directories matching the regex patterns to the blacklist.
# The regex matches against base names, not paths.
ignore-patterns=.*_test.py,.*_tmp.py
# Use multiple processes to speed up Pylint.
jobs=4
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=120
# Regexp for a line that is allowed to be longer than the limit.
ignore-long-lines=^\s+:([A-Za-z]+( [A-Za-z]+)+)_[A-Za-z]+:.*$
# Maximum number of lines in a module.
max-module-lines=1000
[DESIGN]
# Maximum number of arguments for function / method.
max-args=20
# Maximum number of locals for function / method body.
max-locals=30
# Maximum number of return / yield for function / method body.
max-returns=6
# Maximum number of branch for function / method body.
max-branches=20
# Maximum number of statements in function / method body.
max-statements=50