mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Improve "CONTRIBUTING" guide // Resolve #4622
This commit is contained in:
@ -6,12 +6,13 @@ To get started, <a href="https://cla-assistant.io/platformio/platformio-core">si
|
|||||||
1. Fork the repository on GitHub
|
1. Fork the repository on GitHub
|
||||||
2. Clone repository `git clone --recursive https://github.com/YourGithubUsername/platformio-core.git`
|
2. Clone repository `git clone --recursive https://github.com/YourGithubUsername/platformio-core.git`
|
||||||
3. Run `pip install tox`
|
3. Run `pip install tox`
|
||||||
4. Go to the root of project where is located `tox.ini` and run `tox -e py37`
|
4. Go to the root of the PlatformIO Core project where `tox.ini` is located (``cd platformio-core``) and run `tox -e py39`.
|
||||||
|
You can replace `py39` with your own Python version. For example, `py311` means Python 3.11.
|
||||||
5. Activate current development environment:
|
5. Activate current development environment:
|
||||||
|
|
||||||
* Windows: `.tox\py37\Scripts\activate`
|
* Windows: `.tox\py39\Scripts\activate`
|
||||||
* Bash/ZSH: `source .tox/py37/bin/activate`
|
* Bash/ZSH: `source .tox/py39/bin/activate`
|
||||||
* Fish: `source .tox/py37/bin/activate.fish`
|
* Fish: `source .tox/py39/bin/activate.fish`
|
||||||
|
|
||||||
6. Make changes to code, documentation, etc.
|
6. Make changes to code, documentation, etc.
|
||||||
7. Lint source code `make before-commit`
|
7. Lint source code `make before-commit`
|
||||||
|
Reference in New Issue
Block a user