mirror of
https://github.com/NCBM/plyngent.git
synced 2026-07-23 05:55:16 +08:00
docs+ci: document ruff format --check; format app.py
This commit is contained in:
@@ -62,15 +62,17 @@ pdm sync # after pull
|
||||
pdm run plyngent --help
|
||||
```
|
||||
|
||||
Dev checks:
|
||||
Dev checks (same order as CI):
|
||||
|
||||
```bash
|
||||
pdm run basedpyright .
|
||||
pdm run ruff check .
|
||||
pdm run ruff format .
|
||||
pdm run ruff format --check . # or: pdm run ruff format . to apply
|
||||
pdm run basedpyright .
|
||||
pdm run pytest
|
||||
```
|
||||
|
||||
CI fails if sources are not Ruff-formatted (`ruff format --check`). Run `pdm run ruff format .` before push.
|
||||
|
||||
## Basic usage
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user