forked from Azure/azure-cli-dev-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pylintrc
30 lines (26 loc) · 779 Bytes
/
.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
[MESSAGES CONTROL]
# For all codes, run 'pylint --list-msgs' or go to 'http://pylint-messages.wikidot.com/all-codes'
disable=
invalid-name,
fixme,
missing-docstring,
too-many-arguments,
too-few-public-methods,
cyclic-import,
useless-object-inheritance,
useless-import-alias,
useless-suppression,
import-outside-toplevel,
wrong-import-order
[TYPECHECK]
# For Azure CLI extensions, we ignore some import errors as they'll be available in the environment of the CLI
ignored-modules=azure,azure.cli,azure.cli.core,knack
[FORMAT]
max-line-length=120
[DESIGN]
# Maximum number of locals for function / method body
max-locals=25
# Maximum number of branch for function / method body
max-branches=20
[SIMILARITIES]
min-similarity-lines=10