Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,32 @@
build:
uv run maturin build

install:
sync:
uv sync --all-extras

install: sync
uv run maturin develop

# Test targets
test:
test: sync
uv run pytest

# Utility targets
etcd-clear:
etcdctl del "" --from-key=true

# Python formatting and linting
fmt-py:
fmt-py: sync
uv run ruff format tests/ etcd_client.pyi

lint-py:
lint-py: sync
uv run ruff check tests/ etcd_client.pyi

fix-py:
fix-py: sync
uv run ruff format tests/ etcd_client.pyi
uv run ruff check --fix tests/ etcd_client.pyi

typecheck:
typecheck: sync
uv run mypy tests/ etcd_client.pyi

# Rust formatting and linting
Expand All @@ -49,4 +51,4 @@ fix: fix-py fix-rust
check: lint
@echo "All checks passed!"

.PHONY: build install test etcd-clear fmt-py lint-py fix-py typecheck fmt-rust lint-rust fix-rust fmt lint fix check
.PHONY: build sync install test etcd-clear fmt-py lint-py fix-py typecheck fmt-rust lint-rust fix-rust fmt lint fix check
15 changes: 8 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,21 @@ classifiers = [
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"maturin>=1.11.2",
"pytest>=9.0.2,<10",
"pytest-asyncio>=1.3.0,<2",
"trafaret>=2.1,<3",
"testcontainers>=4.13.3,<5",
]
dependencies = []

[project.urls]
homepage = "https://github.com/lablup/etcd-client-py"
repository = "https://github.com/lablup/etcd-client-py"

[project.optional-dependencies]
test = [
"pytest>=9.0.2,<10",
"pytest-asyncio>=1.3.0,<2",
"trafaret>=2.1,<3",
"testcontainers>=4.13.3,<5",
]
dev = [
"maturin>=1.11,<2.0",
"ruff>=0.14.10",
"mypy>=1.19.1",
]
Expand Down
56 changes: 28 additions & 28 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.