diff --git a/.azure-pipelines/templates/azdev_setup.yml b/.azure-pipelines/templates/azdev_setup.yml index 6302f17acf0..66a3f4c78a7 100644 --- a/.azure-pipelines/templates/azdev_setup.yml +++ b/.azure-pipelines/templates/azdev_setup.yml @@ -13,7 +13,7 @@ steps: chmod +x env/bin/activate . env/bin/activate python -m pip install -U pip - pip install azdev==0.1.31 + pip install azdev==0.1.32 azdev --version if [ -z "$CLI_EXT_REPO_PATH" ]; then diff --git a/pylintrc b/pylintrc index b414affb5b6..1b7461be51c 100644 --- a/pylintrc +++ b/pylintrc @@ -4,18 +4,42 @@ 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 +# import-outside-toplevel: Lazy import to improve performance +# locally-disabled: Warning locally suppressed using disable-msg # 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. disable= - missing-docstring, - locally-disabled, - fixme, + arguments-out-of-order, + bad-option-value, + consider-using-generator, + consider-using-with, cyclic-import, - too-many-arguments, - invalid-name, duplicate-code, - bad-option-value + fixme, + import-outside-toplevel, + inconsistent-return-statements, + invalid-name, + invalid-str-returned, + locally-disabled, + missing-docstring, + missing-kwoa, + no-else-break, + no-else-continue, + no-member, + no-value-for-parameter, + raise-missing-from, + self-assigning-variable, + subprocess-run-check, + super-with-arguments, + too-many-arguments, + too-many-function-args, + too-many-lines, + unnecessary-comprehension, + unrecognized-inline-option, + unused-import, + use-a-generator, + using-constant-test, + wrong-import-order, [FORMAT] max-line-length=120