Skip to content

Commit 92a1edc

Browse files
committed
migrate to uv
1 parent 0bd1b20 commit 92a1edc

3 files changed

Lines changed: 812 additions & 7 deletions

File tree

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@
33
package?=extapi tests
44

55
style:
6-
python -m ruff format $(package)
7-
python -m ruff check --select I --fix $(package)
6+
ruff format $(package)
7+
ruff check --select I --fix $(package)
88

99
mypy:
10-
python -m mypy --enable-error-code ignore-without-code $(package)
10+
mypy --enable-error-code ignore-without-code $(package)
1111

1212
ruff:
13-
python -m ruff check $(package)
13+
ruff check $(package)
1414

1515
style-check:
16-
python -m ruff format --check --diff $(package)
16+
ruff format --check --diff $(package)
1717

1818
deptry:
1919
deptry . -e 'env|\.env|venv|\.venv|\..+'
2020

2121
lint: style-check ruff mypy deptry
2222

2323
pytest:
24-
python -m pytest .
24+
pytest .
2525

2626
test: lint pytest

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ tests = [
5151
"pytest-asyncio",
5252
"pytest-aiohttp",
5353
"coverage",
54+
"mypy",
55+
"ruff",
56+
"deptry",
5457
]
5558

5659
[build-system]
@@ -72,7 +75,7 @@ check_untyped_defs = true
7275
asyncio_mode = "auto"
7376

7477
[tool.deptry.per_rule_ignores]
75-
DEP002 = ["pytest-asyncio", "coverage"]
78+
DEP002 = ["pytest-asyncio", "coverage", "pytest-aiohttp", "mypy", "ruff", "deptry"]
7679
DEP004 = []
7780

7881

0 commit comments

Comments
 (0)