Skip to content

Commit

Permalink
Bump to 0.3.0
Browse files Browse the repository at this point in the history
Update to support poetry 1.2.0b2
  • Loading branch information
spoorn committed Jun 7, 2022
1 parent 744e9f5 commit ba03df0
Show file tree
Hide file tree
Showing 7 changed files with 424 additions and 178 deletions.
6 changes: 5 additions & 1 deletion devtool
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set -x

bootstrap() {
poetry install
local_plugin_add
}

lint() {
Expand All @@ -23,7 +24,8 @@ lint() {

# mypy
echo "== Mypy =="
echo y | mypy --install-types --config-file setup.cfg src/
# --namespace-packages for https://stackoverflow.com/questions/64905873/sibling-package-import-and-mypy-has-no-attribute-error
echo y | mypy --install-types --namespace-packages --config-file setup.cfg src/
}

all() {
Expand All @@ -38,7 +40,9 @@ test() {
cd test && pytest --pspec test_walkthrough.py ; cd -
}

# Delete old wheel files first!
local_plugin_add() {
poetry build -f wheel
# Calls `poetry plugin add` using the wheel file under dist/poeblix*.whl for local testing
poetry plugin add $PWD/dist/poeblix*.whl
}
Expand Down
Loading

0 comments on commit ba03df0

Please sign in to comment.