Files
decman/DEVELOPMENT.md
T

699 B

Commands used in development

Before committing ensure all tests pass and format files.

Running

Run decman as root to test all changes:

sudo uv run decman

Testing

Run all unit tests (-s disables output capturing):

uv run pytest -s

Formatting

Format all files:

uv run ruff format

Linting

Run lints:

uv run ruff check

Apply fixes:

uv run ruff check --fix

Installing the example plugin

uv pip install -e example/plugin/

Uninstalling:

uv pip uninstall decman-plugin-example

Making the plugin available/unavailable:

touch /tmp/example_plugin_available
rm /tmp/example_plugin_available