* Before submiting a merge requests, please check the static typing and tests.
* Before submiting a merge requests, please check the static typing and tests.
* Install dev dependencies
* Install dev dependencies
```bash
```bash
pip install-r requirements_dev.txt
poetry instal
```
```
* Check static typing with [mypy](http://mypy-lang.org/)
* Check static typing with [mypy](http://mypy-lang.org/)
...
@@ -97,11 +98,6 @@ make tests TESTS_FILTER=tests.documents.test_block.TestBlock.test_fromraw
...
@@ -97,11 +98,6 @@ make tests TESTS_FILTER=tests.documents.test_block.TestBlock.test_fromraw
## Packaging and deploy
## Packaging and deploy
### PyPi
### PyPi
In the development pyenv environment, install the tools to build and deploy
```bash
pip install--upgrade-r requirements_deploy.txt
```
Change and commit and tag the new version number (semantic version number)
Change and commit and tag the new version number (semantic version number)
```bash
```bash
./release.sh 0.42.3
./release.sh 0.42.3
...
@@ -109,7 +105,7 @@ Change and commit and tag the new version number (semantic version number)
...
@@ -109,7 +105,7 @@ Change and commit and tag the new version number (semantic version number)
Build the PyPi package in the `dist` folder
Build the PyPi package in the `dist` folder
```bash
```bash
make build
Noetry build
```
```
Deploy the package to PyPi test repository (prefix the command with a space in order for the shell not to save in its history system the command containing the password)
Deploy the package to PyPi test repository (prefix the command with a space in order for the shell not to save in its history system the command containing the password)