@@ -9,7 +9,7 @@ description = "A template for developing production-ready Python applications."
99authors = [
1010 { name = " Miguel Villa Floran" , email = " miguel.villafloran@gmail.com" },
1111]
12- requires-python = " >=3.11 ,<3.12 "
12+ requires-python = " >=3.12 ,<3.13 "
1313readme = " README.md"
1414license = { file = " LICENSE" }
1515
@@ -22,8 +22,8 @@ core = { workspace = true }
2222[tool .uv .workspace ]
2323members = [" shared/*" , " src/*" ]
2424
25- [tool . uv ]
26- dev-dependencies = [
25+ [dependency-groups ]
26+ dev = [
2727 " pre-commit>=4.1.0" ,
2828 " ipykernel>=6.29.5" ,
2929 " pytest>=8.3.2" ,
@@ -33,30 +33,12 @@ dev-dependencies = [
3333 " mypy>=1.15.0" ,
3434 " pytest-cov>=6.0.0" ,
3535]
36- package = false
3736
38- [tool .black ]
39- line-length = 88
40- exclude = '''
41- ^/(
42- (
43- \.eggs # exclude a few common directories in the
44- | \.git # root of the project
45- | \.hg
46- | \.mypy_cache
47- | \.venv
48- | _build
49- | build
50- | dist
51- | .notebooks
52- | .nox
53- )
54- )
55- '''
37+ [tool .hatch .metadata ]
38+ allow-direct-references = true
5639
57- [tool .isort ]
58- profile = " black"
59- extend_skip = [" .tmp" , " .venv" ]
40+ [tool .hatch .build .targets .wheel ]
41+ packages = [" shared/utils" , " src/core" ]
6042
6143[tool .mypy ]
6244exclude = " ^.tmp/"
@@ -66,7 +48,7 @@ ignore_missing_imports = true
6648skips = [' B101' ]
6749
6850[tool .ruff ]
69- lint.ignore = [ " E501 " ]
51+
7052extend-exclude = [
7153 " __pycache__" ,
7254 " docs" ,
@@ -81,6 +63,10 @@ extend-exclude = [
8163]
8264line-length = 100
8365
66+ [tool .ruff .lint ]
67+ ignore = [" E501" ]
68+ select = [" E" , " F" , " I" ]
69+
8470[tool .pytest .ini_options ]
8571cache_dir = " .pytest_cache"
8672pythonpath = [" ." , " scripts" , " src" ]
0 commit comments