From 411af60e571a2ffbfe2c5ab01046bfe3bfec0679 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Mon, 4 Jul 2022 14:21:31 +0200 Subject: [PATCH] Add dev-requirements --- README.md | 7 +++++++ dev-requirements.txt | 13 +++++++++++++ scripts/check-python.sh | 3 --- scripts/format-python.sh | 3 --- 4 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 dev-requirements.txt diff --git a/README.md b/README.md index 24d203f..241c6d5 100644 --- a/README.md +++ b/README.md @@ -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 + +``` diff --git a/dev-requirements.txt b/dev-requirements.txt new file mode 100644 index 0000000..4424810 --- /dev/null +++ b/dev-requirements.txt @@ -0,0 +1,13 @@ +build +mkdocs +mkdocstrings[python] +mkdocs-material +autoflake +isort +black[jupyter] +mypy +flake8 +pytest +pytest-cov +pytest-subtests +pytest-asyncio diff --git a/scripts/check-python.sh b/scripts/check-python.sh index d5bf925..b6cbcfb 100755 --- a/scripts/check-python.sh +++ b/scripts/check-python.sh @@ -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 diff --git a/scripts/format-python.sh b/scripts/format-python.sh index 737a2b9..4ed6730 100755 --- a/scripts/format-python.sh +++ b/scripts/format-python.sh @@ -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