Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ ignore = [
asyncio_mode = "auto"
testpaths = ["tests"]
addopts = "--tb=short -q"
# Make the tests/ directory importable as a top-level package so
# tests can use `from tests.conftest import BASE_URL`. Without this,
# `from tests.conftest` raises ModuleNotFoundError on Python 3.10/3.11
# because pytest's rootdir discovery lands on the repo root rather
# than the tests/ directory.
pythonpath = ["."]

[tool.coverage.run]
source = ["src/nullrun"]
Expand Down
2 changes: 1 addition & 1 deletion src/nullrun/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import uuid
from collections import defaultdict, deque
from dataclasses import dataclass, field
from typing import Any, Optional
from typing import Any, Callable, Optional

import httpx

Expand Down
Loading