diff options
author | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-03-06 23:20:43 +0200 |
---|---|---|
committer | Aineopintojen-harjoitustyo-Algoritmit-j <github-hy-tiralabra@v.hix.fi> | 2024-03-06 23:20:43 +0200 |
commit | bb0697c68191d4f6a35a9f66a96867f4a7dbe9e3 (patch) | |
tree | 0295baba138985ca5da5bbacb64ccd75e583b10c | |
parent | aef86e64b5efecd85aaa600d9a4c2cc9cd9126fb (diff) |
even more recursion
-rwxr-xr-x | dev.sh | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -22,10 +22,18 @@ echo "\033[32m>>> $0 $1 - started.\033[0m" case $1 in + install-poetry) + pipx install poetry + ;; + + poetry-dev-deps) + PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ + poetry install --no-root + ;; + dev) - pipx install poetry \ - && PYTHON_KEYRING_BACKEND=keyring.backends.fail.Keyring \ - poetry install --no-root + $0 install-poetry \ + && $0 poetry-dev-deps ;; pytest) @@ -56,7 +64,7 @@ case $1 in ;; all) $0 covff \ - && poetry run python3 -m pylint src/miinaharava/ + && $0 pylint ;; install) |