First, install poetry
From the root of this repository,
poetry install --with dev
The unit tests can be run on a Mac, Linux, or Windows computer with a bluetooth adapter.
Since we need access to a hardware bluetooth adapter, these tests can't be run in a typical CI/CD Github Actions-type testing environment.
Run tests:
poetry run pytest
Use Black to style all Python code:
poetry run black .
Run Pylint to get more detailed feedback.
poetry run pylint bleak_fsm/bleak_model.py