Skip to content

Commit

Permalink
make due without the exported requirements (#236)
Browse files Browse the repository at this point in the history
* make due without the exported requirements

* update tox and poetry

* allowlist

* install poetry externally
  • Loading branch information
dromer authored Dec 25, 2024
1 parent cb2ea54 commit 4b31344
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install tox tox-gh-actions
pip install -U tox tox-gh-actions poetry
- name: Run tox
run: tox

Expand Down
28 changes: 0 additions & 28 deletions requirements-test.txt

This file was deleted.

9 changes: 0 additions & 9 deletions requirements.txt

This file was deleted.

33 changes: 12 additions & 21 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,25 @@ python =

; Test config
[testenv]
deps =
.
-rrequirements-test.txt
allowlist_externals = poetry
commands_pre =
poetry install --no-root --sync
commands =
python -m pytest --cov-config=tox.ini --cov=hvcc tests/
poetry run pytest --cov-config=tox.ini --cov=hvcc tests/

[testenv:flake8]
deps =
-rrequirements-test.txt
flake8
basepython =
python3
allowlist_externals =
flake8
allowlist_externals = poetry
commands_pre =
poetry install --no-root --sync --with dev
commands =
flake8
poetry run flake8

[testenv:mypy]
deps =
.
-rrequirements-test.txt
mypy
basepython =
python3
allowlist_externals =
mypy
allowlist_externals = poetry
commands_pre =
poetry install --no-root --sync --with dev
commands =
mypy hvcc
poetry run mypy hvcc

[run]
ignore = examples/*
Expand Down

0 comments on commit 4b31344

Please sign in to comment.