Skip to content

Commit

Permalink
Make [dev] install all packages as doc imports them
Browse files Browse the repository at this point in the history
  • Loading branch information
loichuder committed Oct 13, 2021
1 parent b9f72d6 commit 07a28c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies ⚙️
run: |
python -m pip install --upgrade pip
pip install .[all]
pip install .[dev]
- name: black ◼️
run: black --check h5grove/ example/ test/
Expand Down
8 changes: 1 addition & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@
pip install -e .[dev]
```

will install `h5grove` in editable mode with all the linting/formating/testing packages.

To install also [flask](https://flask.palletsprojects.com/en/) and [tornado](https://www.tornadoweb.org/en/stable/) packages, run

```
pip install -e .[all]
```
will install `h5grove` in editable mode with all the linting/formating/testing packages. This will also [flask](https://flask.palletsprojects.com/en/) and [tornado](https://www.tornadoweb.org/en/stable/) packages as they are needed to build the documentation.

## Linting

Expand Down
18 changes: 1 addition & 17 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,13 @@ install_requires =
h5py

[options.extras_require]
dev =
black
bump2version
flake8
mypy
myst-parser
pytest
pytest-benchmark
pytest-cov
pytest-tornado
sphinx
sphinx-argparse
types-contextvars
types-dataclasses
types-orjson
types-pkg-resources
flask =
Flask
Flask-Compress
Flask-Cors
tornado =
tornado
all =
dev =
black
bump2version
flake8
Expand Down

0 comments on commit 07a28c7

Please sign in to comment.