From 2afd0fa122e0b41472d3279a17fb18594504a272 Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Tue, 7 Nov 2023 11:04:30 +0100
Subject: [PATCH] chore(ruff): use nucypher-compatible ruff rules
---
.github/workflows/workspace.yml | 2 +-
ferveo-python/pyproject.toml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml
index 9266f268..9acd2f1a 100644
--- a/.github/workflows/workspace.yml
+++ b/.github/workflows/workspace.yml
@@ -187,7 +187,7 @@ jobs:
working-directory: ferveo-python
- name: Run ruff
- run: ruff check .
+ run: ruff check ferveo
working-directory: ferveo-python
codecov:
diff --git a/ferveo-python/pyproject.toml b/ferveo-python/pyproject.toml
index 610492e4..2532c800 100644
--- a/ferveo-python/pyproject.toml
+++ b/ferveo-python/pyproject.toml
@@ -2,5 +2,5 @@
requires = ["setuptools", "wheel", "setuptools-rust"]
[tool.ruff]
-exclude = ["ferveo/__init__.py"]
-
+exclude = ["ferveo/__init__.py"] # false-positive unused-import
+select = ["E", "F", "I"]