Migrate to uv

This commit is contained in:
Kivi Kaitaniemi
2025-12-12 17:03:15 +02:00
parent a566adf546
commit 9da024c8bd
13 changed files with 272 additions and 216 deletions
+41
View File
@@ -0,0 +1,41 @@
# Commands used in development
Before committing ensure all tests pass and format files.
## Running
Run decman as root to test all changes:
```sh
sudo uv run decman
```
## Testing
Run unit tests:
```sh
uv run python -m unittest
```
## Formatting
Format all files:
```sh
uv run ruff format
```
## Linting
Run lints:
```sh
uv run ruff check
```
Apply fixes:
```sh
uv run ruff check --fix
```