Skip to content

Commit 8f45dc3

Browse files
pachewisevokimon
authored andcommitted
chore(deps): Move dev dependencies to dependency-groups in pyproject.toml
Closes #17
1 parent b4b9a92 commit 8f45dc3

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
pip install -e .
37+
pip install --group test
3738
3839
- uses: BSFishy/pip-action@v1
3940
with:

pyproject.toml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ dependencies = [
4040
'beautifulsoup4',
4141
'decorator',
4242
'geocoder', # map
43-
'pytest', # testing
44-
'pytest-cov<4', # testing
45-
'responses', # testing
46-
#'mkdocs', # docs
47-
#'mkdocs-material', # docs
4843
'python-magic', # figure embed
4944
'pillow',
5045
]
@@ -94,3 +89,13 @@ omit = ["**/*test.py"]
9489
addopts = "--cov=customblocks"
9590

9691

92+
[dependency-groups]
93+
test = [
94+
"pytest",
95+
"pytest-cov",
96+
"responses",
97+
]
98+
docs = [
99+
#'mkdocs', # docs
100+
#'mkdocs-material', # docs
101+
]

0 commit comments

Comments
 (0)