-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
39 lines (28 loc) · 1.13 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
# For documentation about this config, see
# https://pylint.readthedocs.io/en/stable/user_guide/configuration/all-options.html (as of writing, version 2.17.4)
[MAIN]
jobs=0 # Default: 1
load-plugins=
pylint.extensions.broad_try_clause
recursive=yes # Default: False
# reports=yes # Default: False
# score=no # Default: True
# To disable more rules, see output of pylint. E.g.
# [...] C0301: Line too long (89/80) (line-too-long)
# can be suppressed with either disable=line-too-long or disable=C
# It is also possible to ignore a specific line by adding
# # pylint: disable=broad-exception-caught
# above the line causing the lint error
disable=
W, ; all Warnings are allowed to fail
import-error, ; To suppress e.g "Unable to import 'grass.script"
missing-module-docstring, ; we use the GRASS GIS header
R, ; refactoring + design recommendations
[BROAD_TRY_CLAUSE]
max-try-statements=4 # Default: 1
[FORMAT]
max-line-length=80 # Default: 100
max-module-lines=800 # Default: 1000
ignore-long-lines=.*COPYRIGHT:.* |# . description:.*|\s*(# )?.*http.:\/\/\S+?
[VARIABLES]
additional-builtins=_ # Default: ()