fix: update pylintrc with edx-lint==5.2.0 (#28863)

This commit is contained in:
Usama Sadiq
2021-09-28 17:32:19 +05:00
committed by GitHub
parent eaf2e68d2a
commit 746a33fee2

View File

@@ -9,7 +9,7 @@
# you want to make a central change that applies to all repos using edx-lint.
#
# Note: If your pylintrc file is simply out-of-date relative to the latest
# pylintrc rules in edx-lint, ensure you have the latest edx-lint installed
# pylintrc in edx-lint, ensure you have the latest edx-lint installed
# and then follow the steps for a "LOCAL CHANGE".
#
# LOCAL CHANGE:
@@ -36,19 +36,16 @@
#
# 3. Run (in edx-lint):
#
# # uses pylintrc_tweaks from edx-lint for linting in edx-lint
# # NOTE: Use Python 3.x, which no longer includes comments in the output file
# $ edx_lint write pylintrc
#
# 4. Make a new version of edx_lint, submit and review a pull request with the
# pylintrc update, and after merging, update the edx-lint version by
# creating a new tag in the repo (uses pbr).
# pylintrc update, and after merging, update the edx-lint version and
# publish the new version.
#
# 5. In your local repo, install the newer version of edx-lint.
#
# 6. Run:
#
# # uses local pylintrc_tweaks
# $ edx_lint write pylintrc
#
# 7. This will modify the local file. Submit a pull request to get it
@@ -67,7 +64,7 @@
# SERIOUSLY.
#
# ------------------------------
# Generated by edx-lint version: 5.0.0
# Generated by edx-lint version: 5.2.0
# ------------------------------
[MASTER]
ignore = ,.git,.tox,migrations,node_modules,.pycharm_helpers
@@ -318,6 +315,7 @@ enable =
disable =
bad-continuation,
bad-indentation,
consider-using-f-string,
duplicate-code,
file-ignored,
fixme,
@@ -341,7 +339,9 @@ disable =
too-many-public-methods,
too-many-return-statements,
ungrouped-imports,
unspecified-encoding,
unused-wildcard-import,
use-maxsplit-arg,
feature-toggle-needs-doc,
illegal-waffle-usage,
@@ -501,4 +501,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception
# da8e79d46675a1e64dfd1d3f1f909b06c63a6949
# 2fed80f910c79d220c5d11096f45b6038a989882