feat(scaffold): initialize rook package with pyproject.toml, src layout, and uv setup
This commit is contained in:
0
tests/.gitkeep
Normal file
0
tests/.gitkeep
Normal file
17
tests/test_scaffold.py
Normal file
17
tests/test_scaffold.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import re
|
||||
import pytest
|
||||
|
||||
|
||||
def test_package_importable():
|
||||
import rook
|
||||
|
||||
|
||||
def test_version_is_semver():
|
||||
import rook
|
||||
assert re.match(r'^\d+\.\d+\.\d+$', rook.__version__) is not None
|
||||
|
||||
|
||||
def test_author_is_string():
|
||||
import rook
|
||||
assert isinstance(rook.__author__, str)
|
||||
assert len(rook.__author__) > 0
|
||||
Reference in New Issue
Block a user