@@ -4,23 +4,18 @@ version = "0.1.0"
44description = "{{project_description}}"
55readme = "README.md"
66authors = [{ name = "{{author_name}}", email = "{{author_email}}" }]
7- requires-python = ">=3.10,< 4 .0 "
7+ requires-python = ">=3.10"
88dependencies = []
99urls.repository = "https://github.com/{{repo_username}}/{{repo_name}}"
1010{% - if private %}
1111classifiers = ["Private :: Do Not Upload"]
1212{% - endif %}
1313
14- [tool.poetry.group.dev.dependencies]
15- {% if docs -%}
16- mkdocs = " >=1"
17- mkdocs-material = ">=9"
18- {% endif -%}
19- mypy = ">=1"
20- pre-commit = ">=4"
21- pytest = ">=8"
22- ruff = ">=0.11"
23- taskipy = ">=1"
14+ [dependency-groups]
15+ {% - if docs %}
16+ docs = ["mkdocs", "mkdocs-material"]
17+ {% - endif %}
18+ dev = ["mypy", "pre-commit", "pytest", "ruff", "taskipy"]
2419
2520[tool.taskipy.tasks]
2621clean = { cmd = "rm -rf .*_cache/ dist/", help = "Remove build artifacts" }
@@ -30,17 +25,17 @@ docs = { cmd = "mkdocs serve -f docs/mkdocs.yaml", help = "Serve documentation"}
3025lint = { cmd = "pre-commit run --all-files", help = "Run linters and formatters" }
3126test = { cmd = "pytest", help = "Run tests" }
3227
33- [tool.ruff]
34- fix = true
35- lint = { select = ["B", "E", "F", "I", "SIM", "UP"] }
36-
3728[tool.mypy]
3829strict = true
3930ignore_missing_imports = true
4031
4132[tool.pytest.ini_options]
4233testpaths = ["tests"]
4334
35+ [tool.ruff]
36+ fix = true
37+ lint = { select = ["B", "E", "F", "I", "SIM", "UP"] }
38+
4439[build-system]
45- requires = ["poetry-core>=2.0 "]
46- build-backend = "poetry.core.masonry.api "
40+ requires = ["flit_core >=3.2,< 4 " ]
41+ build-backend = " flit_core.buildapi "
0 commit comments