Skip to content

Commit 6a3cc9a

Browse files
committed
Uv to go
1 parent 01aafdd commit 6a3cc9a

File tree

3 files changed

+1462
-13
lines changed

3 files changed

+1462
-13
lines changed

.github/workflows/python-tests.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,12 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v4
23-
2423
- name: Install uv
2524
run: pip install uv
26-
2725
- name: Install dependencies
2826
run: uv pip install '.[dev]'
29-
30-
- name: Do lint
31-
run: uv run flake8 .
32-
27+
- name: Run linter
28+
run: uv run ruff check .
3329
- name: Do tests
3430
run: uv run pytest --cov uchecker -v
3531

@@ -43,20 +39,15 @@ jobs:
4339

4440
steps:
4541
- uses: actions/checkout@v4
46-
4742
- name: Set up Python ${{ matrix.python-version }}
4843
uses: actions/setup-python@v5
4944
with:
5045
python-version: ${{ matrix.python-version }}
51-
5246
- name: Install uv
5347
run: pip install uv
54-
5548
- name: Install dependencies
5649
run: uv pip install '.[dev]'
57-
58-
- name: Do lint
59-
run: uv run flake8 .
60-
50+
- name: Run linter
51+
run: uv run ruff check .
6152
- name: Do tests
6253
run: uv run pytest --cov uchecker -v

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@ dependencies = []
1717
[project.scripts]
1818
uchecker = "uchecker:main"
1919

20+
[dependency-groups]
21+
dev = [
22+
"pytest>=4.6.11",
23+
"pytest-coverage>=0.0",
24+
"ruff>=0.0.17",
25+
]
26+

0 commit comments

Comments
 (0)