We welcome contributions to fastapi-mqtt
Feel free to submit issues and enhancement requests.
Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work
- Submit a Pull request so that we can review your changes
git clone https://github.com/sabuhish/fastapi-mqtt.git
cd fastapi-mqtt
poetry install
# activate the poetry virtualenv
poetry shell
# to make changes and validate them
pre-commit install
pre-commit install-hooks
pre-commit run --all-files
# to run the test suite
pytest
Explore the fastapi app examples and run them with uvicorn
uvicorn examples.app:app --port 8000 --reload
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
This project uses pre-commit
to apply multiple linters to the code changes before it's commited.
You can invoke it anytime by running pre-commit run --all-files
.
Install the hook with pre-commit install-hooks
to trigger it when commiting changes.