diff options
| author | Frederick Muriuki Muriithi | 2025-02-28 12:48:20 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-02-28 12:48:20 -0600 |
| commit | f3a6c0adc3e5cb78c1a663fc686f00853729b5d7 (patch) | |
| tree | 52c427297e4a8d818c636a2314fb827e8abf5097 | |
| parent | ef1436bca390ee916b7119036ab2d3de8d1344fb (diff) | |
| download | genenetwork3-f3a6c0adc3e5cb78c1a663fc686f00853729b5d7.tar.gz | |
Fix remaining linting error.
| -rw-r--r-- | setup_commands/run_tests.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/setup_commands/run_tests.py b/setup_commands/run_tests.py index 37d7ffa..8fb0b25 100644 --- a/setup_commands/run_tests.py +++ b/setup_commands/run_tests.py @@ -27,10 +27,11 @@ class RunTests(Command): def finalize_options(self): """Set final value of all the options once they are processed.""" if self.type not in RunTests.test_types: - raise Exception(f""" - Invalid test type (self.type) requested! - Valid types are - {tuple(RunTests.test_types)}""") + raise Exception(# pylint: disable=[broad-exception-raised] + f""" + Invalid test type (self.type) requested! + Valid types are + {tuple(RunTests.test_types)}""") if self.type != "all": self.command = f"pytest -m {self.type}_test" |
