CI / checks (pull_request) Successful in 48s
pyright skips .claude/scripts (it always adds its dot-directory exclude); ruff still checks it. The Stop hook now also runs ruff format --check, matching CI.
10 lines
297 B
Python
10 lines
297 B
Python
from importlib.metadata import version
|
|
from pathlib import Path
|
|
|
|
import deverenz
|
|
|
|
|
|
def test_package_is_installed_from_src() -> None:
|
|
assert version("deverenz") # installed as a distribution
|
|
assert Path(deverenz.__file__).parent.parent.name == "src" # the editable install from this repo
|