Blob Blame History Raw
From 01f06b48a4f2ae7e810d682e0d24f8f1a937acb6 Mon Sep 17 00:00:00 2001
From: Joel Capitao <jcapitao@redhat.com>
Date: Mon, 13 Jan 2025 14:25:28 +0100
Subject: [PATCH] Remove ruf usage

---
 pyproject.toml | 11 -----------
 setup.cfg      | 15 ---------------
 2 files changed, 26 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 3ada627..e28e78e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -63,24 +63,13 @@ Changelog = "https://github.com/pydot/pydot/blob/main/ChangeLog"
 dev = [
   'chardet',
   'parameterized',
-  'ruff'
 ]
 tests = [
   'chardet',
   'parameterized',
-  'ruff',
   'tox',
   'pytest',
   'pytest-cov',
   'pytest-xdist[psutil]',
 ]
 release = ['zest.releaser[recommended]']
-
-[tool.ruff]
-line-length = 79
-exclude = [
-    "src/pydot/_vendor",
-]
-
-[tool.ruff.lint]
-select = ['E', 'F', 'W', 'I', 'UP', 'C4']
diff --git a/setup.cfg b/setup.cfg
index 2bb1292..cee525f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -20,7 +20,6 @@ env_list =
     py310
     py39
     py38
-    ruff-check
 
 [testenv]
 extras = tests
@@ -33,20 +32,6 @@ setenv =
     COVERAGE_FILE = {env:COVERAGE_FILE:{env:DEFAULT_COVERAGE_FILE}}
 commands = pytest -n auto --cov {posargs}
 
-[testenv:ruff-check]
-skip_install = true
-deps = ruff==0.4.8
-commands = 
-    ruff format --diff .
-    ruff check . {posargs}
-
-[testenv:ruff-fix]
-skip_install = true
-deps = ruff==0.4.8
-commands =
-    ruff format .
-    ruff check --fix .
-
 # For tox-gh
 [gh]
 python =
-- 
2.47.1