Skip to content

Commit f6ec062

Browse files
committed
Install ruff from pyproject.toml
1 parent a481b55 commit f6ec062

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
python3 -m pip install --upgrade pip
36-
python3 -m pip install --upgrade setuptools wheel setuptools_scm ruff
36+
python3 -m pip install --upgrade setuptools wheel setuptools_scm
3737
python3 -m pip install sphinx
38-
python3 -m pip install ".[test,twisted]"
38+
python3 -m pip install ".[test,twisted,dev]"
3939
4040
- name: Ruff
4141
run: |

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ testscenarios
6060
testresources"""
6161
twisted = """
6262
Twisted"""
63+
dev = """
64+
ruff==0.4.4
65+
"""
6366

6467
[tool.files]
6568
packages = "testtools"

0 commit comments

Comments
 (0)