Skip to content

Commit

Permalink
Enable more pylint checks to fix them:
Browse files Browse the repository at this point in the history
 - broad-except
 - function-redefined
 - import-error
 - no-member
  • Loading branch information
OmarIthawi committed Mar 10, 2020
1 parent 35e621a commit caaf5a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
6 changes: 1 addition & 5 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,8 @@ enable =
disable =
# TODO: Enable those errors incrementally by removing them
abstract-method, # TODO: Remove
broad-except, # TODO: Remove
empty-docstring, # TODO: Remove
function-redefined, # TODO: Remove
import-error, # TODO: Remove
missing-docstring, # TODO: Remove
no-member, # TODO: Remove
# Those are the default we should leave them as-is
bad-continuation,
invalid-name,
Expand Down Expand Up @@ -452,4 +448,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception

# 92b91929ba5d9ead70bb87b757d6f1df9a21a86e
# 5371f0506e040989115e604d90dd349fb473742b
4 changes: 0 additions & 4 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,8 @@ load-plugins = edx_lint.pylint,pylint_django,pylint_celery
disable =
# TODO: Enable those errors incrementally by removing them
abstract-method, # TODO: Remove
broad-except, # TODO: Remove
empty-docstring, # TODO: Remove
function-redefined, # TODO: Remove
import-error, # TODO: Remove
missing-docstring, # TODO: Remove
no-member, # TODO: Remove

# Those are the default we should leave them as-is
bad-continuation,
Expand Down

0 comments on commit caaf5a3

Please sign in to comment.