/mock-api

Primary LanguagePythonMIT LicenseMIT

mock-api

Installation

pyinstaller mock-api.spec

Development

  • Clone this repository
  • Requirements:
  • Create a virtual environment and install the dependencies
pip install -r requirements.txt
  • Activate the virtual environment
python -m venv .venv

Testing

pytest

Documentation

The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github project page automatically as part each release.

Releasing

Trigger the [Draft release workflow](https://github.com/moorefu/push it/actions/workflows/draft_release.yml) (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.

Find the draft release from the [GitHub releases](https://github.com/moorefu/push it/releases) and publish it. When a release is published, it'll trigger [release](https://github.com/moorefu/push it/blob/master/.github/workflows/release.yml) workflow which creates PyPI release and deploys updated documentation.

This project was generated using the wolt-python-package-cookiecutter template.