-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 771 Bytes
/
ruff.yml
File metadata and controls
35 lines (32 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Linting and formatting validation using ruff
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
directory:
- openai-agents-sdk
- pydantic-ai
- claude-agent-sdk
defaults:
run:
working-directory: ${{ matrix.directory }}
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- name: Lint and check formatting with ruff
run: |
ruff check .
ruff format --check .