Contributions are welcome and these should ideally be made through the main repository on GitLab.
This package facilitates MicroPython development in VSCode through the settings in .vscode and the micropython-stdlib-stubs project dev dependency. Type hints on MicroPython code are enabled through the following files, which are included as a package dependency and installed to the device lib/ directory:
typing: micropython-stubstyping_extensions: micropython-stubs
Choose a suitable title and use a story format that explains the feature in depth:
As a [developer | user | system], instead of [current situation], I want [action | feature], so that [value | justification].Issue description templates can help provide a useful format and context:
Full example:
Use the New Bug description template when creating issues related to bugs:
This repository is managed by Astral uv Python package manager and can be installed by cloning the repository and syncing with uv.
git clone git@gitlab.com:micropython-iot-projects/libraries/micropython-network-utils.git
cd micropython-network-utils
uv sync --all-extrasActivate the virtual environment created by uv:
source .venv/bin/activateWith the virtual environment activated, the ruff check & format commands will implement the rules set in the pyproject.toml file. These tool can be also be run using the commands uv run ruff check or uv run ruff format.
To format the code in accordance with the project formatting rules, use the following command:
ruff formatTo run the ruff linting tool, use the following command:
ruff check --fixCommit messages use the conventional commits specification:
<type>[optional scope]: <description>
git commit -m "docs: update contribution guidelines."
git commit -m "chore: ruff lint & format."
git commit -m "feat: add new mqtt extension package module."
git commit -m "fix: patch an installation error for cli install command #1234."A breaking change is indicated with a '!':
git commit -m "refactor!: drop support for rshell."

