Add dev-requirements

This commit is contained in:
Andras Schmelczer 2022-07-04 14:21:31 +02:00
parent f160b07163
commit 411af60e57
4 changed files with 20 additions and 6 deletions

View file

@ -32,3 +32,10 @@ def hello_world(name: str) -> str:
Deploy by executing `python3 -m great-ai main.py`
Find the dashboard at [http://localhost:6060](http://localhost:6060/dashboard/).
### Contribute
```sh
pip install --upgrade --requirement dev-requirements.txt
```

13
dev-requirements.txt Normal file
View file

@ -0,0 +1,13 @@
build
mkdocs
mkdocstrings[python]
mkdocs-material
autoflake
isort
black[jupyter]
mypy
flake8
pytest
pytest-cov
pytest-subtests
pytest-asyncio

View file

@ -2,9 +2,6 @@
set -e
echo "Installing dependencies if necessary"
python3 -m pip install --upgrade autoflake isort black[jupyter] mypy flake8
echo "Checking $1"
cd $1

View file

@ -2,9 +2,6 @@
set -e
echo "Installing dependencies if necessary"
python3 -m pip install --upgrade autoflake isort black[jupyter] mypy flake8
echo "Formatting and checking $1"
cd $1