11[build-system ]
2- requires = [ " setuptools>=64 " ]
3- build-backend = " setuptools.build_meta "
2+ requires = [" uv_build>=0.8.7 " ]
3+ build-backend = " uv_build "
44
55[project ]
66name = " module-name"
77requires-python = " >=3.9"
8- version = " 0.1 .0"
8+ version = " 2.3 .0"
99description = " Module Description"
1010readme = " README.md"
11- license = " MIT "
11+ license = { file = " LICENSE " }
1212authors = [
1313 { email = " yourname@email.invalid" , name = " [YOUR NAME]" },
1414]
1515maintainers = []
1616keywords = []
1717classifiers = [
18+ " License :: OSI Approved :: MIT License" ,
1819 " Programming Language :: Python :: 3" ,
1920 " Programming Language :: Python :: 3 :: Only" ,
2021 " Programming Language :: Python :: Implementation :: CPython" ,
2122]
22- dynamic = [ " dependencies" , " optional-dependencies" ]
23-
24- [tool .setuptools .dynamic .dependencies ]
25- file = [ " requirements/requirements.txt" ]
23+ dependencies = [
24+ " requests" ,
25+ ]
2626
27- [tool .setuptools .dynamic .optional-dependencies ]
28- dev = { file = [ " requirements/requirements-dev.txt" ] }
29- test = { file = [ " requirements/requirements-test.txt" ] }
27+ [dependency-groups ]
28+ lint = [
29+ " black" ,
30+ " isort" ,
31+ " flake8" ,
32+ " flake8-builtins" ,
33+ " flake8-pep585" ,
34+ " mypy" ,
35+ " types-requests" ,
36+ ]
37+ tool = [
38+ " pre-commit" ,
39+ " nox" ,
40+ ]
41+ test = [
42+ " pytest" ,
43+ " pytest-randomly" ,
44+ " coverage" ,
45+ ]
3046
3147[project .urls ]
3248homepage = " https://github.com/[ORG NAME]/[REPO NAME]"
3349
3450# [project.scripts]
3551# python-src-example = "module_name.sample:main"
3652
53+ [tool .black ]
54+ line-length = 100
55+
3756[tool .setuptools .package-data ]
3857"module_name" = [" py.typed" ]
3958
@@ -58,7 +77,7 @@ source = ["tests"]
5877source_pkgs = [" module_name" ]
5978
6079[tool .coverage .paths ]
61- source = [" src/" , " */site-packages" ]
80+ source = [" src/" , " */site-packages" , " */src " ]
6281test = [" tests/" , " */tests" ]
6382
6483[tool .coverage .report ]
0 commit comments