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:
@@ -45,7 +45,10 @@ Then for every projects, check the dev dependency group where you can find tools
|
||||
|
||||
Type checking: `pdm run basedpyright .`
|
||||
Linting: `pdm run ruff check .`
|
||||
Formating: `pdm run ruff format .`
|
||||
Formatting (apply): `pdm run ruff format .`
|
||||
Formatting (CI check): `pdm run ruff format --check .`
|
||||
|
||||
CI (`.github/workflows/ci.yml`) runs lint, **format check**, typecheck, then tests. Always run `pdm run ruff format .` before push so `ruff format --check` does not fail on `main` after a release tag has already published.
|
||||
|
||||
<!-- Contents in comments are for projects with long-period developments, but this is a new project.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user