1+ [build-system ]
2+ requires = [" hatchling" ]
3+ build-backend = " hatchling.build"
4+
5+ [dependency-groups ]
6+ bench = [
7+ " tabulate" ,
8+ " typer" ,
9+ " types-tabulate" ,
10+ ]
11+ dev = [
12+ " hatch" ,
13+ " mypy" ,
14+ " ruff" ,
15+ ]
16+ example = [
17+ " argon2-cffi" ,
18+ " faker" ,
19+ " pydantic" ,
20+ ]
21+ test = [
22+ " fastapi" ,
23+ " httpx" ,
24+ " pydantic" ,
25+ " pytest" ,
26+ " pytest-asyncio" ,
27+ " pytest-cov" ,
28+ ]
29+
130[project ]
231name = " python-injection"
332version = " 0.0.0"
433description = " Fast and easy dependency injection framework."
5- license = " MIT"
34+ license = { text = " MIT" }
635readme = " README.md"
736requires-python = " >=3.12, <4"
837authors = [{ name = " remimd" }]
@@ -24,32 +53,16 @@ classifiers = [
2453dependencies = []
2554
2655[project .urls ]
27- repository = " https://github.com/100nm/python-injection"
28-
29- [tool .poetry ]
30- packages = [{ include = " injection" }]
56+ Repository = " https://github.com/100nm/python-injection"
3157
32- [tool .poetry .group .dev .dependencies ]
33- mypy = " *"
34- ruff = " *"
58+ [tool .hatch .build ]
59+ skip-excluded-dirs = true
3560
36- [tool .poetry .group .test .dependencies ]
37- fastapi = " *"
38- httpx = " *"
39- pydantic = " *"
40- pytest = " *"
41- pytest-asyncio = " *"
42- pytest-cov = " *"
61+ [tool .hatch .build .targets .sdist ]
62+ include = [" injection" ]
4363
44- [tool .poetry .group .example .dependencies ]
45- argon2-cffi = " *"
46- faker = " *"
47- pydantic = " *"
48-
49- [tool .poetry .group .bench .dependencies ]
50- tabulate = " *"
51- typer = " *"
52- types-tabulate = " *"
64+ [tool .hatch .build .targets .wheel ]
65+ packages = [" injection" ]
5366
5467[tool .coverage .report ]
5568exclude_lines = [
@@ -106,6 +119,6 @@ extend-select = ["F", "I", "N"]
106119ignore = [" N818" ]
107120fixable = [" ALL" ]
108121
109- [build-system ]
110- requires = [" poetry-core " ]
111- build-backend = " poetry.core.masonry.api "
122+ [tool . uv ]
123+ default-groups = [" bench " , " dev " , " example " , " test " ]
124+ package = true
0 commit comments