Skip to content

Commit 6d52f89

Browse files
committed
Update
1 parent 3e30b9c commit 6d52f89

File tree

6 files changed

+74
-123
lines changed

6 files changed

+74
-123
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ repos:
1010
- id: check-yaml
1111
- id: end-of-file-fixer
1212
- id: trailing-whitespace
13-
- repo: https://github.com/psf/black
14-
rev: "25.1.0"
15-
hooks:
16-
- id: black
17-
- repo: https://github.com/pycqa/isort
18-
rev: "6.0.0"
19-
hooks:
20-
- id: isort
21-
args: ["--profile", "black", "--filter-files"]
2213
- repo: https://github.com/PyCQA/autoflake
2314
rev: "v2.3.1"
2415
hooks:

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.12

pyproject.toml

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "A template for developing production-ready Python applications."
99
authors = [
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"
1313
readme = "README.md"
1414
license = { file = "LICENSE" }
1515

@@ -22,8 +22,8 @@ core = { workspace = true }
2222
[tool.uv.workspace]
2323
members = ["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]
6244
exclude = "^.tmp/"
@@ -66,7 +48,7 @@ ignore_missing_imports = true
6648
skips = ['B101']
6749

6850
[tool.ruff]
69-
lint.ignore = ["E501"]
51+
7052
extend-exclude = [
7153
"__pycache__",
7254
"docs",
@@ -81,6 +63,10 @@ extend-exclude = [
8163
]
8264
line-length = 100
8365

66+
[tool.ruff.lint]
67+
ignore = ["E501"]
68+
select = ["E", "F", "I"]
69+
8470
[tool.pytest.ini_options]
8571
cache_dir = ".pytest_cache"
8672
pythonpath = [".", "scripts", "src"]

shared/utils/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Utility functions"
99
authors = [
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"
1313
readme = "README.md"
1414

1515
dependencies = ["dotenv>=0.9.9"]

src/core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Core functionality"
99
authors = [
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"
1313
readme = "README.md"
1414

1515
dependencies = ["utils", "typer>=0.12.5"]

0 commit comments

Comments
 (0)