@@ 5,10 5,10 @@ packages:
- py3-mypy
- py3-pip
sources:
- - https://git.sr.ht/~turminal/OCRaaS
+ - https://git.sr.ht/~turminal/ocraas
tasks:
- install: |
- cd OCRaaS
+ cd ocraas
python3 -m venv .venv3
. .venv3/bin/activate
pip install -r requirements.txt
@@ 16,7 16,7 @@ tasks:
cp config.example.ini config.ini
./ocraas-initdb
- lint: |
- cd OCRaaS
+ cd ocraas
. .venv3/bin/activate
echo "Running isort"
isort . --diff --check-only
@@ 25,7 25,7 @@ tasks:
echo "Running mypy"
mypy ocraas/
- run: |
- cd OCRaaS
+ cd ocraas
. .venv3/bin/activate
cp config.example.ini config.ini
timeout 8 ./ocraas-run || true