Bug reports and pull requests are welcome on GitHub at https://github.com/evervault/evervault-python.
We use poetry to make dependency management and general development easier. Once you have poetry installed, you can install the dependencies using
poetry installFrom there, you are able to run python using
poetry run python your_file.pyWe use black and flake8 for code formatting and linting. You can run them through poetry by running
poetry run black .
poetry run flake8 --ignore=E501,W503,E722You can also run the tests using pytest by running
poetry run pytestAll of these are run using a GitHub action on pull-requests, so please ensure that your code passes these tests before pushing, to save yourself some time.
We use changesets to version manage in this repo.
When creating a pr that needs to be rolled into a version release, do npx changeset, select the level of the version bump required and describe the changes for the change logs. DO NOT select major for releasing breaking changes without team approval.
To release:
Merge the version PR that the changeset bot created to bump the version numbers. This will bump the versions of the packages, create a git tag for the release, and release the new version to npm.