From 521ac731b9bbeeaa5bd567849bdffda51bc96b9f Mon Sep 17 00:00:00 2001 From: Eddasol Date: Mon, 16 Dec 2024 15:36:34 +0100 Subject: [PATCH] Add ruff workflow --- .github/workflows/pythonpackage.yml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 27267a1c..fa26ec60 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -37,3 +37,4 @@ jobs: run: | black --check . mypy . + ruff check . diff --git a/pyproject.toml b/pyproject.toml index fed21543..677523f0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version"] repository = "https://github.com/equinor/isar-robot.git" [project.optional-dependencies] -dev = ["black", "mypy", "pip-tools", "pre-commit", "pytest"] +dev = ["black", "mypy", "pip-tools", "pre-commit", "pytest", "ruff"] [tool.setuptools_scm] version_file = "src/isar_robot/version.py"