-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added make install-dev
and a stronger make clean
for easier dev on-boarding and release upgrades.
#458
Conversation
… easier on-boarding experience
Codecov Report
@@ Coverage Diff @@
## main #458 +/- ##
=======================================
Coverage 80.13% 80.13%
=======================================
Files 31 31
Lines 3151 3151
Branches 611 611
=======================================
Hits 2525 2525
Misses 479 479
Partials 147 147 |
make install-dev
and a stronger make clean
for easier dev on-boarding and release upgrades.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also modify the contributing.md?
Makefile
Outdated
clean: | ||
rm -fr htmlcov .mypy_cache .pytest_cache .ruff_cache .coverage coverage.xml | ||
hatch env remove unit | ||
|
||
install-dev: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
install-dev: | |
dev: |
We use this for python sdk
@@ -11,4 +19,5 @@ test: | |||
hatch run unit:test | |||
|
|||
test-cov: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps call it "coverage"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also modify the contributing.md
install-dev: | ||
pip install hatch | ||
hatch env create | ||
hatch run pip install -e '.[test]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you output the path to python interpreter here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as in which python
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think Serge means this:
hatch run python -c "import sys; print(sys.executable)"
…n-boarding and release upgrades. (#458)
… easier on-boarding experience
The problem was
make test
was reporting incompatible versions. Thehatch
environment needed cleaning up. Also addedmake install-dev
as a convention to install the developer environment (hatch).