Contributions

The nmk-python plugin contributes to nmk features as described below.

Plugin information

As other plugins, nmk-python registers its version and documentation link in plugin information config items.

Venv

The nmk-plugin plugin automatically requires the following python packages to be installed in the project venv:

Moreover, it overrides the ${venvUpdateInput} item, to condition the venv refresh on the pyproject.toml file, rather than on the requirements.txt one.

Badges

Following badges are declared (to be generated by nmk-badges plugin in README.md file) by nmk-python plugin:

Note: enabled only if nmk-badges plugin is used in the nmk project

VSCode extensions

nmk-python plugin recommends usage of the following VSCode extensions:

Note: enabled only if nmk-vscode plugin is used in the nmk project

VSCode settings

nmk-python plugin contributes settings for Python features support related to nmk configuration:

  • organize imports + code format (through ruff) enabled on save

  • enable testing with pytest

VSCode launch configurations

nmk-python plugin contributes launch configuration to be able to debug python tests out of the box.

Github actions

nmk-python plugin contributes to github actions for:

  • upload built python wheel (only on tag build) to pypi.org

  • coverage report upload to codecov.io