Add dev-requirements
This commit is contained in:
parent
f160b07163
commit
411af60e57
4 changed files with 20 additions and 6 deletions
|
|
@ -32,3 +32,10 @@ def hello_world(name: str) -> str:
|
||||||
Deploy by executing `python3 -m great-ai main.py`
|
Deploy by executing `python3 -m great-ai main.py`
|
||||||
|
|
||||||
Find the dashboard at [http://localhost:6060](http://localhost:6060/dashboard/).
|
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
13
dev-requirements.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
build
|
||||||
|
mkdocs
|
||||||
|
mkdocstrings[python]
|
||||||
|
mkdocs-material
|
||||||
|
autoflake
|
||||||
|
isort
|
||||||
|
black[jupyter]
|
||||||
|
mypy
|
||||||
|
flake8
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
pytest-subtests
|
||||||
|
pytest-asyncio
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Installing dependencies if necessary"
|
|
||||||
python3 -m pip install --upgrade autoflake isort black[jupyter] mypy flake8
|
|
||||||
|
|
||||||
echo "Checking $1"
|
echo "Checking $1"
|
||||||
|
|
||||||
cd $1
|
cd $1
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Installing dependencies if necessary"
|
|
||||||
python3 -m pip install --upgrade autoflake isort black[jupyter] mypy flake8
|
|
||||||
|
|
||||||
echo "Formatting and checking $1"
|
echo "Formatting and checking $1"
|
||||||
|
|
||||||
cd $1
|
cd $1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue