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: tasks:
- dependencies: | - dependencies: |
pipx install poetry pipx install poetry
export PATH="$PATH:/home/build/.local/bin"
cd ${project} cd ${project}
poetry install poetry install
- lint: | - lint: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project} cd ${project}
# 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 stegano --count --select=E9,F63,F7,F82 --show-source --statistics poetry run flake8 stegano --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. # exit-zero treats all errors as warnings.
poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics poetry run flake8 stegano --count --max-complexity=10 --max-line-length=127 --statistics
- test: | - test: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project} cd ${project}
poetry run nose2 -v --pretty-assert poetry run nose2 -v --pretty-assert
- typecheck: | - typecheck: |
export PATH="$PATH:/home/build/.local/bin"
cd ${project} cd ${project}
poetry run mypy . poetry run mypy .