Skip to content

Commit da42085

Browse files
Rename dependency groups
dev → test all → dev
1 parent 7814e18 commit da42085

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/docker_build.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
python-version: "3.11"
3939

4040
- name: Install neurodocker
41-
run: python -m pip install --editable . --group dev
41+
run: python -m pip install --editable . --group test
4242

4343
- name: Generate Dockerfile
4444
run: |

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
python-version: '3.10'
1717
- name: Install neurodocker
18-
run: python -m pip install --editable . --group all
18+
run: python -m pip install --editable . --group doc
1919
- name: build docs
2020
run: |
2121
make -C docs cli

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
python-version: ${{ matrix.python-version }}
3939
allow-prereleases: true
4040
- name: Install neurodocker
41-
run: python -m pip install --editable . --group dev
41+
run: python -m pip install --editable . --group test
4242
- name: Run python tests
4343
run: pytest --numprocesses auto
4444
- name: Get code coverage

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Clone the repository and install in editable mode.
5252
```
5353
git clone https://github.com/ReproNim/neurodocker
5454
cd neurodocker
55-
python -m pip install --no-cache-dir --editable . --group all
55+
python -m pip install --no-cache-dir --editable . --group dev
5656
```
5757

5858
Before committing changes, initialize `pre-commit` with `pre-commit install`. This will format code with each commit to keep the style consistent. _Neurodocker_ uses `ruff` for formatting.

pyproject.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,20 @@ build-backend = "hatchling.build"
33
requires = ["hatchling>=1.27.0", "hatch-vcs"]
44

55
[dependency-groups]
6-
all = [
7-
{include-group = "dev"},
6+
dev = [
87
{include-group = "doc"},
9-
{include-group = "minify"}
8+
{include-group = "minify"},
9+
{include-group = "test"}
1010
]
11-
dev = [
11+
doc = [
12+
"sphinx <7",
13+
"pydata-sphinx-theme >= 0.13",
14+
"sphinxcontrib.apidoc >= 0.3"
15+
]
16+
minify = [
17+
"docker >= 4.4.1"
18+
]
19+
test = [
1220
{include-group = "minify"},
1321
"codecov",
1422
"coverage[toml]",
@@ -20,14 +28,6 @@ dev = [
2028
"pytest-xdist >= 2.2.0",
2129
"types-PyYAML"
2230
]
23-
doc = [
24-
"sphinx <7",
25-
"pydata-sphinx-theme >= 0.13",
26-
"sphinxcontrib.apidoc >= 0.3"
27-
]
28-
minify = [
29-
"docker >= 4.4.1"
30-
]
3131

3232
[project]
3333
authors = [{name = "Neurodocker Developers"}]

0 commit comments

Comments
 (0)