@@ -6,7 +6,6 @@ authors = [
66 {name = " Adrien Vannson" , email = " adrien.vannson@protonmail.com" },
77 {name = " Daniel G. Taylor" , email = " danielgtaylor@gmail.com" }
88]
9- # readme = "../README.md"
109keywords = [" protobuf" , " gRPC" ]
1110license = " MIT"
1211requires-python = " >=3.10,<4.0"
@@ -25,8 +24,34 @@ grpclib = ["grpclib>=0.4.8"]
2524pydantic = [" pydantic>=2.11.5" ]
2625all = [" grpclib>=0.4.8" , " grpcio>=1.72.1" , " pydantic>=2.11.5" ]
2726
27+ [dependency-groups ]
28+ dev = [
29+ " ipykernel>=6.29.5" ,
30+ " mkdocs-material>=9.6.14" ,
31+ " mkdocstrings[python]>=0.29.1" ,
32+ " mypy>=1.16.0" ,
33+ " pre-commit>=4.2.0" ,
34+ " pyright>=1.1.401" ,
35+ # The Ruff version is pinned. To update it, also update it in .pre-commit-config.yaml
36+ " ruff==0.9.3" ,
37+ ]
38+ test = [
39+ " cachelib>=0.13.0" ,
40+ " poethepoet>=0.34.0" ,
41+ " protobuf>=5.29.3" ,
42+ " pytest>=8.4.0" ,
43+ " pytest-asyncio>=1.0.0" ,
44+ " pytest-cov>=6.1.1" ,
45+ " pytest-mock>=3.14.1" ,
46+ ]
47+
2848[tool .uv ]
2949package = true
50+ default-groups = " all"
51+
52+ [build-system ]
53+ requires = [" hatchling" ]
54+ build-backend = " hatchling.build"
3055
3156# [tool.poetry]
3257# packages = [
@@ -67,7 +92,7 @@ addopts = "-p no:warnings"
6792# Dev workflow tasks
6893[tool .poe .tasks .get-local-compiled-tests ]
6994# task useful for local development. Copies the compiled test files from the compiler folder to the tests folder
70- shell = " rm -r tests/output_* && cp -r ../python-betterproto2-compiler /tests/output_* tests"
95+ shell = " rm -rf tests/output_* && cp -r ../betterproto2_compiler /tests/output_* tests"
7196
7297[tool .poe .tasks .test ]
7398cmd = " pytest"
@@ -127,28 +152,3 @@ help = "Pulls the compiled test files from the betterproto2-compiler repository"
127152[tool .poe .tasks .serve-docs ]
128153cmd = " mkdocs serve"
129154help = " Serve the documentation locally"
130-
131- [build-system ]
132- requires = [" hatchling" ]
133- build-backend = " hatchling.build"
134-
135- [dependency-groups ]
136- dev = [
137- " ipykernel>=6.29.5" ,
138- " mkdocs-material>=9.6.14" ,
139- " mkdocstrings[python]>=0.29.1" ,
140- " mypy>=1.16.0" ,
141- " pre-commit>=4.2.0" ,
142- " pyright>=1.1.401" ,
143- # The Ruff version is pinned. To update it, also update it in .pre-commit-config.yaml
144- " ruff==0.9.3" ,
145- ]
146- test = [
147- " cachelib>=0.13.0" ,
148- " poethepoet>=0.34.0" ,
149- " protobuf>=5.29.3" ,
150- " pytest>=8.4.0" ,
151- " pytest-asyncio>=1.0.0" ,
152- " pytest-cov>=6.1.1" ,
153- " pytest-mock>=3.14.1" ,
154- ]
0 commit comments