-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
44 lines (37 loc) · 1.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[tool.poetry]
name = "template-python-project-poetry"
packages = [
{ include = "my_project" },
]
version = "2.1.8"
description = "A template for Python projects, using Poetry"
authors = ["Giovanni Ciatto <giovanni.ciatto@unibo.it>"]
license = "Apache 2.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">= 3.9.0 < 4.0.0"
scikit-learn = "^1.5.0"
pandas = "^2.2.2"
[tool.poetry.group.dev.dependencies]
coverage = "^7.4.0"
mypy = "^1.10.1"
poethepoet = "^0.28.0"
poetry = "^1.8.3"
pytest = "^8.2.2"
[tool.poe.tasks]
test = "python -m unittest discover -v -s tests -p '*.py'"
coverage = "coverage run -m unittest discover -v -s tests -p '*.py'"
coverage-report = "coverage report -m"
coverage-html = "coverage html"
mypy = "mypy my_project tests"
compile = "python -m compileall my_project tests"
[tool.poetry.scripts]
my_project = "my_project:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.mypy]
ignore_missing_imports = true