mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-10-27 19:52:22 +00:00
Clarify lint + typechecking requirements
This commit is contained in:
1 parent
e07916e5ee
commit
bad820acf9
1 file changed
+3
-3
@@ -113,7 +113,7 @@ Run both the backend and `npm run dev` for hot-reloading frontend development.
|
||||
|
||||
### Code Quality
|
||||
|
||||
Please lint, format, and quality check your code before PRing or committing. At the least, run a lint + autoformat + type check on the bakend, and a lint + autoformat on the frontend,
|
||||
Please lint, format, and quality check your code before PRing or committing. At the least, run a lint + autoformat + pyright check on the bakend, and a lint + autoformat on the frontend.
|
||||
|
||||
<details>
|
||||
<summary>But how?</summary>
|
||||
@@ -122,11 +122,11 @@ Please lint, format, and quality check your code before PRing or committing. At
|
||||
# python
|
||||
uv run ruff check app/ tests/ --fix # lint + auto-fix
|
||||
uv run ruff format app/ tests/ # format (always writes)
|
||||
uv run pyright app/ # warnings only permitted!
|
||||
uv run pyright app/ # type checking
|
||||
|
||||
# frontend
|
||||
cd frontend
|
||||
npm run lint:fix # esLint + auto-fix (warnings permitted)
|
||||
npm run lint:fix # esLint + auto-fix
|
||||
npm run format # prettier (always writes)
|
||||
```
|
||||
</details>
|
||||
|
||||
Reference in new issue
Block a user