From 1c5e865d56f678ff97533ab30c0f527afb881294 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Tue, 30 Jan 2024 09:26:56 +0000 Subject: [PATCH] Replace black with pytest-ruff - pytest-black has been abandoned: https://github.com/shopkeep/pytest-black/issues/70 --- pyproject.toml | 5 +---- requirements/testing.txt | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f16714a7a..086b73354 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,3 @@ -[tool.black] -line-length = 80 - [tool.ruff] line-length = 80 ignore = ["E501"] @@ -29,5 +26,5 @@ addopts =[ "--ignore=wcivf/settings/local.py", "--ignore=lib", "--ruff", - "--black", + "--ruff-format", ] diff --git a/requirements/testing.txt b/requirements/testing.txt index dce9e5371..f02a561b1 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -1,8 +1,7 @@ -r base.txt -black==23.7.0 -pytest<8.0.0 +pytest pytest-django pytest-cov factory_boy @@ -16,4 +15,3 @@ django-debug-toolbar==4.1.0 curlylint==0.13.1 ruff==0.0.280 pytest-ruff -pytest-black