feat: update README and CI configuration, add tests for hooks functionality

This commit is contained in:
Tal Muskal
2026-04-08 20:40:03 +03:00
parent 67e21c582c
commit 9de302f881
6 changed files with 230 additions and 5 deletions
+13 -2
View File
@@ -38,11 +38,11 @@ Repository = "https://github.com/milla-jovovich/mempalace"
mempalace = "mempalace:main"
[project.optional-dependencies]
dev = ["pytest>=7.0", "ruff>=0.4.0"]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4.0"]
spellcheck = ["autocorrect>=2.0"]
[dependency-groups]
dev = ["pytest>=7.0", "ruff>=0.4.0"]
dev = ["pytest>=7.0", "pytest-cov>=4.0", "ruff>=0.4.0"]
[build-system]
requires = ["hatchling"]
@@ -64,3 +64,14 @@ quote-style = "double"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
source = ["mempalace"]
[tool.coverage.report]
fail_under = 30
show_missing = true
exclude_lines = [
"if __name__",
"pragma: no cover",
]