Skip to content

Commit

Permalink
{pylint} Disable more checkers to comply with pylint 2.8.0 (#17861)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiasli committed May 7, 2021
1 parent dc295b8 commit 32d2691
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/templates/azdev_setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
38 changes: 31 additions & 7 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32d2691

Please sign in to comment.