From c71d0ef0872b36a46c8bb82769fb530d446abc4e Mon Sep 17 00:00:00 2001 From: Florent Clarret Date: Wed, 3 Jul 2024 07:22:44 +0200 Subject: [PATCH] nit --- tasks/linter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/linter.py b/tasks/linter.py index e4b32b722e352..c61745667b5a9 100644 --- a/tasks/linter.py +++ b/tasks/linter.py @@ -53,14 +53,13 @@ def python(ctx): # We want to the CI to fail if there are any issues ctx.run("ruff format --check .") ctx.run("ruff check .") - ctx.run("mypy") else: # Otherwise we just need to format the files ctx.run("ruff format .") ctx.run("ruff check --fix .") - ctx.run("mypy") ctx.run("vulture") + ctx.run("mypy") @task