We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 108539c commit 3313c9fCopy full SHA for 3313c9f
.github/workflows/ruff.yaml
@@ -0,0 +1,27 @@
1
+name: Ruff Linting and Formatting
2
+
3
+on:
4
+ pull_request:
5
+ branches: [ main ]
6
7
+jobs:
8
+ ruff:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Set up Python
13
+ uses: actions/setup-python@v4
14
+ with:
15
+ python-version: '3.10'
16
+ - name: Install uv
17
+ run: pip install uv
18
+ - name: Create venv
19
+ run: uv venv
20
+ - name: Install dependencies
21
+ run: |
22
+ uv pip install .
23
+ uv pip install .[dev]
24
+ - name: Run Ruff linter
25
+ run: uv run ruff check .
26
+ - name: Run Ruff formatter
27
+ run: uv run ruff format . --check
0 commit comments