Please make sure that your PR works with Blender 2.80:
- That requires you to use python 3.7 and
- Compatible Blender API (do a version check)
- Remember to update CHANGELOG: https://keepachangelog.com/en/1.0.0/
- Upcoming releases (roadmap) are planned in milestones
- Generally don't commit commented out code unless there is a really good reason
- Prefer comments to be full sentences
- Blender entrypoint is in
pythonFiles/launch.py
- VS Code entrypoint is
src/extension.ts
. Refer to VS code docs, there is nothing non standard here.
Use Black formatter with black --line-length 120
There is no clear guideline or commitment to testing.
Some tests are prototyped in pythonFiles/tests/blender_vscode/test_load_addons.py
.
They should be run outside of Blender what makes them easy to execute, but prone to breaking: there is a lot of patching
for small number of test.
Run tests:
pip install pytest
cd pythonFile
$env:PYTHONPATH="./include" # powershell
pytest -s .\tests
Nothing more than tslint.json
.