Skip to content

Commit

Permalink
Replace black with pytest-ruff
Browse files Browse the repository at this point in the history
- pytest-black has been abandoned: shopkeep/pytest-black#70
  • Loading branch information
VirginiaDooley committed Jan 30, 2024
1 parent 6feb780 commit 1c5e865
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[tool.black]
line-length = 80

[tool.ruff]
line-length = 80
ignore = ["E501"]
Expand Down Expand Up @@ -29,5 +26,5 @@ addopts =[
"--ignore=wcivf/settings/local.py",
"--ignore=lib",
"--ruff",
"--black",
"--ruff-format",
]
4 changes: 1 addition & 3 deletions requirements/testing.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
-r base.txt

black==23.7.0

pytest<8.0.0
pytest
pytest-django
pytest-cov
factory_boy
Expand All @@ -16,4 +15,3 @@ django-debug-toolbar==4.1.0
curlylint==0.13.1
ruff==0.0.280
pytest-ruff
pytest-black

0 comments on commit 1c5e865

Please sign in to comment.