Use pre-commit for Prettier in CI and document local hook setup.
Run prettier via pre-commit in code-quality workflow and add README instructions for installing and running hooks during development. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
co-authored by
Cursor
parent
497533f0e3
commit
c5169df10d
@@ -39,6 +39,4 @@ jobs:
|
||||
run: uv run pyupgrade --py313-plus $(git ls-files '*.py') && git diff --exit-code
|
||||
|
||||
- name: Prettier format
|
||||
run: |
|
||||
npm install --save-dev --save-exact prettier
|
||||
npx prettier --check .
|
||||
run: uv run pre-commit run prettier --all-files
|
||||
|
||||
Reference in New Issue
Block a user