mirror of
https://github.com/platformio/platformio-core.git
synced 2026-01-25 08:22:25 +01:00
1016 B
1016 B
Contributing
To get started, sign the Contributor License Agreement.
-
Fork the repository on GitHub
-
Clone repository
git clone --recursive https://github.com/YourGithubUsername/platformio-core.git -
Run
pip install tox -
Go to the root of the PlatformIO Core project where
tox.iniis located (cd platformio-core) and runtox -e py39. You can replacepy39with your own Python version. For example,py311means Python 3.11. -
Activate current development environment:
- Windows:
.tox\py39\Scripts\activate - Bash/ZSH:
source .tox/py39/bin/activate - Fish:
source .tox/py39/bin/activate.fish
- Windows:
-
Make changes to code, documentation, etc.
-
Lint source code
make before-commit -
Run the tests
make test -
Build documentation
tox -e docs(creates a directory _build under docs where you can find the html) -
Commit changes to your forked repository
-
Submit a Pull Request on GitHub