diff --git a/completion/tests/test_models.py b/completion/tests/test_models.py index 57326c2..69f292d 100644 --- a/completion/tests/test_models.py +++ b/completion/tests/test_models.py @@ -245,7 +245,7 @@ def _create_test_completions(self, user): models.BlockCompletion.objects.submit_batch_completion( user, [ - (block, float(f"0.{randint(1,9)}")) + (block, float(f"0.{randint(1, 9)}")) for block in self.blocks + self.other_blocks ] ) diff --git a/pylintrc b/pylintrc index e3c34bc..e64df33 100644 --- a/pylintrc +++ b/pylintrc @@ -64,7 +64,7 @@ # SERIOUSLY. # # ------------------------------ -# Generated by edx-lint version: 5.2.5 +# Generated by edx-lint version: 5.3.6 # ------------------------------ [MASTER] ignore = migrations @@ -259,6 +259,7 @@ enable = useless-suppression, disable = bad-indentation, + broad-exception-raised, consider-using-f-string, duplicate-code, file-ignored, @@ -383,6 +384,6 @@ ext-import-graph = int-import-graph = [EXCEPTIONS] -overgeneral-exceptions = Exception +overgeneral-exceptions = builtins.Exception -# c0857a3261a064e2a276a399b5ec398fd1738e0f +# 94445ea91ee8c0de6c53ae1fa510a8a063a86b78 diff --git a/pylintrc_tweaks b/pylintrc_tweaks index d344316..b23aa08 100644 --- a/pylintrc_tweaks +++ b/pylintrc_tweaks @@ -5,6 +5,8 @@ load-plugins = edx_lint.pylint,pylint_django,pylint_celery [MESSAGES CONTROL] disable+ = - no-self-use, logging-format-interpolation, useless-suppression, + +disable- = + no-self-use