From c7f7771e26c8b19b230dba7986f469cd57b1c33a Mon Sep 17 00:00:00 2001 From: June Date: Thu, 6 Jun 2024 01:07:39 +0200 Subject: [PATCH] other: Use "ruff check" instead of just "ruff" as recommended by ruff This is as of ruff 0.3.0. See here: https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#030 --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3eb6ea1..f051452 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,12 +66,12 @@ dependencies = [ [tool.hatch.envs.lint.scripts] typing = "mypy --install-types --non-interactive {args:src/infra_rebuild tests}" style = [ - "ruff {args:.}", + "ruff check {args:.}", "black --check --diff {args:.}", ] fmt = [ "black {args:.}", - "ruff --fix {args:.}", + "ruff check --fix {args:.}", "style", ] all = [