From 93ba478f877d3feef6c38ae47b2a6b0a457a5c7f Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Tue, 18 Apr 2023 07:02:16 +0200 Subject: [PATCH] Add missing Pyflakes (#458) Specially F401 unused-import that I was missing https://beta.ruff.rs/docs/rules/#pyflakes-f --- pyproject.toml | 2 +- tests/unit/test_g1_monetary_license.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index eac5e958..ed4a34b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ ignore_missing_imports = true [tool.ruff] line-length = 101 target-version = "py37" -select = ["W", "I", "UP", "YTT", "B", "A", "DTZ", "T10", +select = ["F", "W", "I", "UP", "YTT", "B", "A", "DTZ", "T10", "EXE", "ISC", "ICN", "G", "INP", "PIE", "PYI", "Q", "RSE", "SLF", "TID", "PL", "COM", "C4", "PT", "RET", "SIM", "PTH", "PGH", "PL", "TRY", "RUF"] ignore = ["PLR2004", "PLR0913"] diff --git a/tests/unit/test_g1_monetary_license.py b/tests/unit/test_g1_monetary_license.py index ccba5292..76d8fa15 100644 --- a/tests/unit/test_g1_monetary_license.py +++ b/tests/unit/test_g1_monetary_license.py @@ -13,7 +13,6 @@ # You should have received a copy of the GNU Affero General Public License # along with Silkaj. If not, see <https://www.gnu.org/licenses/>. -from pathlib import Path from unittest.mock import patch import pytest -- GitLab