diff --git a/app_helper/main.py b/app_helper/main.py index a714eec..969f1ec 100644 --- a/app_helper/main.py +++ b/app_helper/main.py @@ -105,7 +105,7 @@ def test(test_labels, application, failfast=False, test_runner=None, runner_opti test_labels = ["tests"] elif os.path.exists(os.path.join(application, "tests")): test_labels = ["%s.tests" % application] - elif type(test_labels) is str: # pragma: no cover + elif isinstance(test_labels, str): # pragma: no cover test_labels = [test_labels] runner_options = runner_options or [] return _test_run_worker(test_labels, test_runner, failfast, runner_options, verbose) diff --git a/changes/232.bugfix b/changes/232.bugfix new file mode 100644 index 0000000..c1a37d4 --- /dev/null +++ b/changes/232.bugfix @@ -0,0 +1 @@ +Fix ruff linting