testing-conventions 0.0.129

Enforce testing conventions in libraries (Python, TypeScript, and Rust).
Documentation
1
2
3
4
5
6
import sys
from pathlib import Path

# An editable install resolves through a .pth to the real source tree; the equivalent
# here is a sys.path entry pointing at the neighbor package outside the scanned root.
sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "a"))