File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 python-version: "3.11"
3939
4040 - name: Install neurodocker
41- run: python -m pip install --editable . [dev]
41+ run: python -m pip install --editable --group [dev]
4242
4343 - name: Generate Dockerfile
4444 run: |
Original file line number Diff line number Diff line change 1515 with :
1616 python-version : ' 3.10'
1717 - name : Install neurodocker
18- run : python -m pip install --editable .[ all]
18+ run : python -m pip install --editable . --group all
1919 - name : build docs
2020 run : |
2121 make -C docs cli
Original file line number Diff line number Diff line change 3838 python-version : ${{ matrix.python-version }}
3939 allow-prereleases : true
4040 - name : Install neurodocker
41- run : python -m pip install --editable .[ dev]
41+ run : python -m pip install --editable . --group dev
4242 - name : Run python tests
4343 run : pytest --numprocesses auto
4444 - name : Get code coverage
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ Clone the repository and install in editable mode.
5252```
5353git clone https://github.com/ReproNim/neurodocker
5454cd neurodocker
55- python -m pip install --no-cache-dir --editable .[ all]
55+ python -m pip install --no-cache-dir --editable . --group all
5656```
5757
5858Before committing changes, initialize ` pre-commit ` with ` pre-commit install ` . This will format code with each commit to keep the style consistent. _ Neurodocker_ uses ` black ` for formatting.
Original file line number Diff line number Diff line change 22build-backend = " hatchling.build"
33requires = [" hatchling>=1.27.0" , " hatch-vcs" ]
44
5+ [dependency-groups ]
6+ all = [
7+ {include-group = " dev" },
8+ {include-group = " doc" },
9+ {include-group = " minify" }
10+ ]
11+ dev = [
12+ {include-group = " minify" },
13+ " codecov" ,
14+ " coverage[toml]" ,
15+ " mypy" ,
16+ " pre-commit" ,
17+ " pytest >= 6.0" ,
18+ " pytest-cov >= 2.0.0" ,
19+ " pytest-reportlog >= 0.1.2" ,
20+ " pytest-xdist >= 2.2.0" ,
21+ " types-PyYAML"
22+ ]
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+ ]
31+
532[project ]
633authors = [{name = " Neurodocker Developers" }]
734classifiers = [
@@ -37,29 +64,6 @@ name = "neurodocker"
3764readme = " README.md"
3865requires-python = " >=3.10"
3966
40- [project .optional-dependencies ]
41- all = [" neurodocker[minify,dev,doc]" ]
42- dev = [
43- " neurodocker[minify]" ,
44- " codecov" ,
45- " coverage[toml]" ,
46- " mypy" ,
47- " pre-commit" ,
48- " pytest >= 6.0" ,
49- " pytest-cov >= 2.0.0" ,
50- " pytest-reportlog >= 0.1.2" ,
51- " pytest-xdist >= 2.2.0" ,
52- " types-PyYAML"
53- ]
54- doc = [
55- " sphinx <7" ,
56- " pydata-sphinx-theme >= 0.13" ,
57- " sphinxcontrib.apidoc >= 0.3"
58- ]
59- minify = [
60- " docker >= 4.4.1"
61- ]
62-
6367[project .scripts ]
6468neurodocker = " neurodocker.cli.cli:cli"
6569
You can’t perform that action at this time.
0 commit comments