Skip to content

Whist-Team/Whist-Core

Repository files navigation

Documentation Status codecov PyPI PyPI - Python Version PyPI - Wheel GitHub repo size Lines of code PyPI - Downloads PyPI - License

Whist-Core

Whist rules implementation

Development

Setup

You need Poetry for development.

# Create venv and install deps
poetry install

The Python virtual environment will be created in the .venv directory.

Run tests/lint

# Run tests (in venv)
python -m pytest # or pylint...
# OR
poetry run python -m pytest

Build

Generates sdist and bdist_wheel.

poetry build

Publish

You need the environment variable POETRY_PYPI_TOKEN_PYPI filled with a PyPI token.

poetry build
poetry publish
# OR
poetry publish --build