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.
This commit is contained in:
1 parent
888a52b251
commit
e91d05497d
7 files changed
+301
No files matched your search
@@ -0,0 +1,9 @@
|
||||
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
|
||||
Reference in new issue
Block a user