chore(api): Introduce Ruff Formatter. (#7291)
This commit is contained in:
parent
8f16165f92
commit
3571292fbf
61 changed files with 1315 additions and 1335 deletions
4
.github/workflows/style.yml
vendored
4
.github/workflows/style.yml
vendored
|
|
@ -45,6 +45,10 @@ jobs:
|
|||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
run: poetry run -C api dotenv-linter ./api/.env.example ./web/.env.example
|
||||
|
||||
- name: Ruff formatter check
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
run: poetry run -C api ruff format --check ./api
|
||||
|
||||
- name: Lint hints
|
||||
if: failure()
|
||||
run: echo "Please run 'dev/reformat' to fix the fixable linting errors."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue