Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Pylint} Bump Pylint to 2.8.0 #17861

Merged
merged 3 commits into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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