Skip to content
Closed
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/pr-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,8 @@ concurrency:
cancel-in-progress: true

jobs:
python-lint:
uses: ./.github/workflows/python-lint.yml

build-run-tests:
uses: ./.github/workflows/build-run-tests.yml
30 changes: 30 additions & 0 deletions .github/workflows/python-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python Lint and Format Check

on:
workflow_call:

jobs:
python-lint:
name: Lint Python Code
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Sync dependencies
working-directory: integrations/python/dataloader
run: make sync

- name: Run lint and format checks
working-directory: integrations/python/dataloader
run: make check