[PATCH patatt 1/7] Add local CI script
Tamir Duberstein <[email protected]>
| Newsgroups | org.kernel.linux.tools |
|---|---|
| Message-ID | <[email protected]> |
Add a small CI helper that runs the checks already passing in this tree: Ruff linting, mypy, and pytest. Remove `asyncio_default_fixture_loop_scope` which isn't used here since this project does not use async tests. Signed-off-by: Tamir Duberstein <[email protected]> --- ci.sh | 7 +++++++ pyproject.toml | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh new file mode 100755 index 0000000..3001db2 --- /dev/null +++ b/ci.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +set -eu + +uv run ruff check +uv run mypy . +uv run pytest --durations=0 diff --git a/pyproject.toml b/pyproject.toml index 47f86a3..a541b01 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,7 +65,6 @@ typeCheckingMode = "off" strict = true [tool.pytest.ini_options] -asyncio_default_fixture_loop_scope = "function" testpaths = "tests" python_files = "test_*.py" python_classes = "Test*" -- 2.53.0