|
|
|
@ -49,3 +49,35 @@ Download the latest release in .tar.gz or .whl format and simply use pip install |
|
|
|
|
```sh |
|
|
|
|
pip install PyCTBN-2.2.tar.gz |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
## Testing & Linting |
|
|
|
|
|
|
|
|
|
Install these dependencies for **tesing**: |
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
pip3 install -r test-requirements.txt |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
Install these dependencies for **linting**: |
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
pip3 install -r lint-requirements.txt |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To launch **pytest**: |
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
pytest |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To launch **flake8**: |
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
flake8 |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To launch **pylint**: |
|
|
|
|
|
|
|
|
|
```sh |
|
|
|
|
pylint --output-format=text --rcfile=setup.cfg src/ test/ *.py |
|
|
|
|
``` |
|
|
|
|