58 строки
1.9 KiB
INI
58 строки
1.9 KiB
INI
[MASTER]
|
|
ignore=tests,generated,vendored_sdks,privates
|
|
reports=no
|
|
|
|
[MESSAGES CONTROL]
|
|
# For all codes, run 'pylint --list-msgs' or go to 'https://pylint.readthedocs.io/en/latest/reference_guide/features.html'
|
|
# locally-disabled: Warning locally suppressed using disable-msg
|
|
# cyclic-import: Because of https://github.com/PyCQA/pylint/issues/850
|
|
# too-many-arguments: Due to the nature of the CLI many commands have large arguments set which reflect in large arguments set in corresponding methods.
|
|
# import-outside-toplevel: Lazy import to improve performance
|
|
disable=
|
|
missing-docstring,
|
|
locally-disabled,
|
|
fixme,
|
|
cyclic-import,
|
|
too-many-arguments,
|
|
invalid-name,
|
|
duplicate-code,
|
|
import-outside-toplevel
|
|
|
|
[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,azure.cli.core.commands,knack,msrest,msrestazure,argcomplete,azure_devtools,isodate,OpenSSL
|
|
|
|
[FORMAT]
|
|
max-line-length=120
|
|
|
|
[VARIABLES]
|
|
# Tells whether we should check for unused import in __init__ files.
|
|
init-import=yes
|
|
|
|
[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
|
|
|
|
[BASIC]
|
|
# Naming hints based on PEP 8 (https://www.python.org/dev/peps/pep-0008/#naming-conventions).
|
|
# Consider these guidelines and not hard rules. Read PEP 8 for more details.
|
|
|
|
# The invalid-name checker must be **enabled** for these hints to be used.
|
|
include-naming-hint=yes
|
|
|
|
module-naming-style=snake_case
|
|
const-naming-style=UPPER_CASE
|
|
class-naming-style=PascalCase
|
|
class-attribute-naming-style=snake_case
|
|
attr-naming-style=snake_case
|
|
method-naming-style=snake_case
|
|
function-naming-style=snake_case
|
|
argument-naming-style=snake_case
|
|
variable-naming-style=snake_case
|
|
inlinevar-naming-style=snake_case
|