diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..157c95e --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,10 @@ +## Workflow + +Per-feature workflow: brainstorming → spec in +`planning/specs/YYYY-MM-DD--design.md` → writing-plans → +plan in `planning/plans/YYYY-MM-DD--plan.md` → +executing-plans / subagent-driven-development → +requesting-code-review → finishing-a-development-branch. + +Topic slugs are kebab-case descriptions (e.g. `faststream-0.7-migration`), +not story IDs. diff --git a/pyproject.toml b/pyproject.toml index 2538657..2e099e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ "Typing :: Typed", "Topic :: Software Development :: Libraries", ] -dependencies = ["faststream>=0.5,<1", "modern-di>=2,<3"] +dependencies = ["faststream>=0.5,<0.7", "modern-di>=2,<3"] version = "0" [project.urls] @@ -39,11 +39,12 @@ lint = [ ] [build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" +requires = ["uv_build>=0.11,<1.0"] +build-backend = "uv_build" -[tool.hatch.build] -include = ["modern_di_faststream"] +[tool.uv.build-backend] +module-name = "modern_di_faststream" +module-root = "" [tool.ruff] fix = false @@ -71,7 +72,7 @@ isort.lines-after-imports = 2 isort.no-lines-before = ["standard-library", "local-folder"] [tool.pytest.ini_options] -addopts = "--cov=. --cov-report term-missing" +addopts = "--cov=. --cov-report term-missing --cov-fail-under=100" asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function"