Skip to content

Commit 7b803eb

Browse files
committed
fix(test): specify dev deps in pyproject.toml
1 parent da10bd1 commit 7b803eb

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install dependencies
4747
run: |
4848
python -m pip install --upgrade pip
49-
if [ -f pyproject.toml ]; then pip install flake8 '.[test]'; fi
49+
if [ -f pyproject.toml ]; then pip install '.[dev]'; fi
5050
- name: Lint with flake8
5151
run: |
5252
# stop the build if there are Python syntax errors or undefined names

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ classifiers = [
3838
[project.urls]
3939
Homepage = "https://github.com/chaimleib/intervaltree"
4040
Issues = "https://github.com/chaimleib/intervaltree/issues"
41+
42+
[project.optional-dependencies]
43+
dev = [
44+
"flake8",
45+
"pytest",
46+
]

0 commit comments

Comments
 (0)