From 4388cd43212f13ccd81294114f67c0dcb9d3cf96 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 16 May 2023 18:12:25 +0300 Subject: [PATCH] Improve "CONTRIBUTING" guide // Resolve #4622 --- CONTRIBUTING.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5f2f4188..8deafb9c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,12 +6,13 @@ To get started, si 1. Fork the repository on GitHub 2. Clone repository `git clone --recursive https://github.com/YourGithubUsername/platformio-core.git` 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: - * Windows: `.tox\py37\Scripts\activate` - * Bash/ZSH: `source .tox/py37/bin/activate` - * Fish: `source .tox/py37/bin/activate.fish` + * Windows: `.tox\py39\Scripts\activate` + * Bash/ZSH: `source .tox/py39/bin/activate` + * Fish: `source .tox/py39/bin/activate.fish` 6. Make changes to code, documentation, etc. 7. Lint source code `make before-commit`