Removed probably useless commands for build.sr.ht

This commit is contained in:
Cédric Bonhomme 2019-12-14 13:42:45 +01:00
parent 9acc9afa99
commit 6e5a0a3523
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -13,17 +13,11 @@ tasks:
cd Stegano cd Stegano
poetry install poetry install
- lint: | - lint: |
export PATH="$PATH:/home/build/.local/bin"
cd Stegano
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- test: | - test: |
export PATH="$PATH:/home/build/.local/bin"
cd Stegano
poetry run nosetests poetry run nosetests
- typecheck: | - typecheck: |
export PATH="$PATH:/home/build/.local/bin"
cd Stegano
poetry run python tools/run_mypy.py poetry run python tools/run_mypy.py