-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (30 loc) · 668 Bytes
/
Copy pathMakefile
File metadata and controls
39 lines (30 loc) · 668 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
36
37
38
39
lt:
make l
make t
l:
make lint
make lint_examples
lint:
ruff format .
mypy .
ruff check --fix .
flake8 .
complexipy . --failed
radon cc .
t:
make test
make test_examples
test:
coverage run -m pytest tests
coverage report --include="async_pytest_httpserver/*" --show-missing
test_examples:
cd examples/aiohttp_example && unset VIRTUAL_ENV && uv sync --reinstall-package async-pytest-httpserver && uv run pytest
lint_examples:
cd examples/aiohttp_example && unset VIRTUAL_ENV && uv sync --reinstall-package async-pytest-httpserver --all-groups -q && uv run make lint
uv:
uv sync
source .venv/bin/activate
build:
uv build
publish:
uv publish