forked from d70-t/ipldstore
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99e9e1b
commit f23b651
Showing
10 changed files
with
805 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
# pyproject.toml | ||
[build-system] | ||
requires = [ | ||
"setuptools>=45", | ||
"wheel", | ||
"setuptools_scm>=6.2" | ||
[project] | ||
name = "ipldstore" | ||
version = "0.1.0" | ||
description = "KV store for Zarr" | ||
readme = "README.md" | ||
requires-python = ">=3.11" | ||
dependencies = [ | ||
"multiformats[full]>=0.3.1.post4", | ||
"py-hamt", | ||
"zarr>=2.18.3", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
[tool.setuptools_scm] | ||
version_scheme = "post-release" | ||
local_scheme = "no-local-version" | ||
|
||
[dependency-groups] | ||
dev = [ | ||
"hypothesis>=6.118.8", | ||
"memray>=1.14.0", | ||
"pdoc>=15.0.0", | ||
"py-hamt", | ||
"pytest-cov>=6.0.0", | ||
"pytest>=8.3.3", | ||
"ruff>=0.7.3", | ||
"snakeviz>=2.2.2", | ||
] | ||
|
||
# TODO temporary update to just use the plain git without a commit hash once version 2 is out and merged in | ||
[tool.uv.sources] | ||
py-hamt = { git = "https://github.com/dClimate/py-hamt", rev = "1ce68f7ecd64e2c0cf14550338832bf694ced97d" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"venvPath": ".", | ||
"venv": ".venv" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
# Run pytest with coverage | ||
uv run pytest --cov=py_hamt tests/ | ||
|
||
# Check coverage | ||
uv run coverage report --fail-under=100 --show-missing | ||
|
||
# Check linting with ruff | ||
uv run ruff check | ||
|
||
# Auto format with ruff | ||
uv run ruff format |
This file was deleted.
Oops, something went wrong.