chg: [sourcehut] Removed useless export of PATH.

This commit is contained in:
Cédric Bonhomme 2024-01-04 02:13:24 +01:00
parent d02f8b8b14
commit 33c9cd55b1
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -23,21 +23,17 @@ environment:
tasks:
- dependencies: |
pipx install poetry
export PATH="$PATH:/home/build/.local/bin"
cd ${project}
poetry install
- lint: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project}
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings.
poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics
- test: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project}
poetry run nose2 -v --pretty-assert
- typecheck: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project}
poetry run mypy .