mirror of
https://github.com/kiviktnm/decman.git
synced 2026-09-19 12:08:28 +00:00
Migrate to uv
This commit is contained in:
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user