From fbd08060c8744a33435cb982667ce919922e0d78 Mon Sep 17 00:00:00 2001 From: Eddasol Date: Mon, 16 Dec 2024 15:00:58 +0100 Subject: [PATCH] Add ruff workflow to prevent unused imports --- .github/workflows/pythonpackage.yml | 1 + pyproject.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 85e1a492..b3d208da 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -48,3 +48,4 @@ jobs: run: | black --check . mypy . + ruff --check . diff --git a/pyproject.toml b/pyproject.toml index 96b46b07..98be916c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,6 +70,7 @@ dev = [ "pytest-xdist", "pytest", "requests-mock", + "ruff", "sphinx", ]