From 578150fb7ea4af9f07b8316f0c4da3aef0f101f1 Mon Sep 17 00:00:00 2001 From: Florian Rathgeber Date: Sun, 28 Jan 2024 09:10:27 +0100 Subject: [PATCH] Switch from pytest-flake8 to pytest-ruff See https://github.com/tholo/pytest-flake8/issues/98 --- pytest.ini | 3 +-- setup.cfg | 3 --- tests/requirements.txt | 3 +-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pytest.ini b/pytest.ini index 6f1ef58..508c635 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,2 @@ [pytest] -flake8-ignore = E501 -addopts = --flake8 +addopts = --ruff diff --git a/setup.cfg b/setup.cfg index 61266f3..1b20203 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,9 +11,6 @@ tag_message = v{new_version} [bumpversion:file:nbstripout/_nbstripout.py] -[flake8] -ignore = E501 - [bdist_wheel] universal = 1 diff --git a/tests/requirements.txt b/tests/requirements.txt index b6c81e8..0fc17a6 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,3 +1,2 @@ pytest -flake8 < 5.0.0 -pytest-flake8 +pytest-ruff