Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains only engineering optimization. If you think this does not help, please close the PR.
Poetry
Poetry is a versatile tool for managing dependencies and Python versions. To begin development, simply run the command
poetry install
, which will install all required dependencies and create a virtual env for this package. To add a new dependency, use the commandpoetry add [package]
. For more information, visit the Poetry documentation.Github Actions
I set up two GitHub Actions: one for testing and one for releases.
The
unittest
action is triggered for every PR but skips thetest_ob
test because it takes too long to complete. When merging intomaster
, theunittest
action runs a full test suite.The
build_publish
action simplifies releasing the package. It automatically builds and pushes the package to PyPI for every tag you create, using the tag name for versioning. Remember to set thePIPY_TOKEN
in the repository secrets.Pytest
I recreated those testcases in pytest to skip the
test_ob
Thank you so much for creating this amazing package.