Skip to content

Commit db97d8c

Browse files
committed
Drop requirements.txt; run lint via uv
The integration's runtime deps come from manifest.json; requirements.txt was only consumed by the lint workflow and had drifted from pyproject.toml. Switch the Ruff job to setup-uv + `uv run ruff`, sourcing the pinned ruff from pyproject.toml/uv.lock, and remove the redundant requirements.txt.
1 parent e769f60 commit db97d8c

2 files changed

Lines changed: 5 additions & 17 deletions

File tree

.github/workflows/lint.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ jobs:
1818
- name: Checkout the repository
1919
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2020

21-
- name: Set up Python
22-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
21+
- name: Set up uv
22+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
2323
with:
24-
python-version: "3.13"
25-
cache: "pip"
26-
27-
- name: Install requirements
28-
run: python3 -m pip install -r requirements.txt
24+
enable-cache: true
2925

3026
- name: Lint
31-
run: python3 -m ruff check .
27+
run: uv run ruff check .
3228

3329
- name: Format
34-
run: python3 -m ruff format . --check
30+
run: uv run ruff format . --check

requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)