mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-21 22:17:02 +00:00
Update development documentation
This commit is contained in:
parent
d199c5fb0b
commit
caa31b2dc3
17
README.md
17
README.md
@ -66,19 +66,16 @@ make docs SPHINX_FORMAT=<some other sphinx format>
|
|||||||
|
|
||||||
## developing
|
## developing
|
||||||
|
|
||||||
|
This project requires [Poetry](https://python-poetry.org/docs/#installation) version
|
||||||
|
1.0 or newer.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# install poetry
|
|
||||||
pip3 install poetry --user --pre
|
|
||||||
|
|
||||||
# install pre-commit
|
|
||||||
pip3 install pre-commit --user
|
|
||||||
|
|
||||||
# install pre-commit hooks
|
|
||||||
pre-commit install
|
|
||||||
|
|
||||||
# create virtual environment from lockfile
|
# create virtual environment from lockfile
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
# run the tests and static analysis
|
# install pre-commit hooks
|
||||||
|
poetry run pre-commit install
|
||||||
|
|
||||||
|
# run the automated tests
|
||||||
poetry run tox
|
poetry run tox
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user