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.ini
is located (cd platformio-core
) and runtox -e py39
. You can replacepy39
with your own Python version. For example,py311
means 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