Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/workflows/product-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ jobs:
- name: Python lint
if: needs.changes.outputs.docs_only != 'true'
run: .\.venv\Scripts\python.exe -m ruff check src apps tests migrations
- name: Python format
if: needs.changes.outputs.docs_only != 'true'
run: .\.venv\Scripts\python.exe -m ruff format --check src apps tests migrations
- name: Runtime architecture
if: needs.changes.outputs.docs_only != 'true'
run: .\.venv\Scripts\python.exe scripts/check_architecture.py
Expand Down
1 change: 1 addition & 0 deletions Makefile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function Invoke-NativeStage {

function Invoke-BackendLint {
Invoke-NativeStage "LINT" $Python @("-m", "ruff", "check", "src", "apps", "tests", "migrations")
Invoke-NativeStage "FORMAT_CHECK" $Python @("-m", "ruff", "format", "--check", "src", "apps", "tests", "migrations")
}

function Invoke-BackendType {
Expand Down
Loading
Loading