From c92f1efeb8f54e44e22e811d159eb587a0bdc566 Mon Sep 17 00:00:00 2001
From: Joel Capitao <jcapitao@redhat.com>
Date: Mon, 16 Sep 2024 16:17:18 +0200
Subject: [PATCH] Remove ruf usage
---
pyproject.toml | 7 -------
setup.cfg | 14 --------------
2 files changed, 21 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index bfd8458..f12a922 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -63,16 +63,9 @@ dev = [
tests = [
'chardet',
'parameterized',
- 'ruff',
'tox',
'pytest',
'pytest-cov',
'pytest-xdist[psutil]',
]
release = ['zest.releaser[recommended]']
-
-[tool.ruff]
-line-length = 79
-
-[tool.ruff.lint]
-select = ['E', 'F', 'W', 'I', 'UP', 'C4']
diff --git a/setup.cfg b/setup.cfg
index 81bf476..3bc52c5 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -20,7 +20,6 @@ env_list =
py310
py39
py38
- ruff
[testenv]
extras = tests
@@ -33,19 +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]
-deps = ruff==0.4.8
-commands =
- ruff format .
- ruff check --fix .
-
# For tox-gh
[gh]
python =
--
2.46.0