diff options
author | Dani Alcala <112832187+clavedeluna@users.noreply.github.com> | 2022-11-05 09:54:13 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-05 12:54:13 +0000 |
commit | 3c180dff050af44e7b4f9adf1ab872031fb9f6a8 (patch) | |
tree | 6ef83078272c01ab98accaf8133fdab2430979ab /pylint/lint | |
parent | 6fc8fada69ff787977ba90c5f02d00b5b2f9336a (diff) | |
download | pylint-git-3c180dff050af44e7b4f9adf1ab872031fb9f6a8.tar.gz |
Rename `broad-except` and new check `broad-exception-raised` (#7709)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'pylint/lint')
-rw-r--r-- | pylint/lint/parallel.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/lint/parallel.py b/pylint/lint/parallel.py index 646d26994..8d0053108 100644 --- a/pylint/lint/parallel.py +++ b/pylint/lint/parallel.py @@ -67,7 +67,7 @@ def _worker_check_single_file( defaultdict[str, list[Any]], ]: if not _worker_linter: - raise Exception("Worker linter not yet initialised") + raise RuntimeError("Worker linter not yet initialised") _worker_linter.open() _worker_linter.check_single_file_item(file_item) mapreduce_data = defaultdict(list) |