-
Notifications
You must be signed in to change notification settings - Fork 175
/
Copy pathpyproject.toml
82 lines (71 loc) · 2.16 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[tool.poetry]
name = "hourglass_tensorflow"
version = "1.0.1"
description = "Tensorflow implementation of Stacked Hourglass Networks for Human Pose Estimation"
authors = ["wbenbihi <[email protected]>"]
license = "MIT"
[tool.poetry.scripts]
htf = "cli.__init__:cli"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pydantic = "^1.9.2"
pandas = "^1.4.3"
numpy = "^1.23.2"
scipy = "^1.9.0"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
python-semantic-release = "^7.31.2"
pre-commit = "^2.20.0"
pytest = "^7.1.2"
flake8 = "^5.0.4"
click = "^8.1.3"
ipython = "^8.4.0"
tensorflow-macos = "^2.9.2"
tensorflow-metal = "^0.5.0"
tensorflow-datasets = "^4.6.0"
loguru = "^0.6.0"
pyzmq = "<23.2.1"
jupyter = "^1.0.0"
matplotlib = "^3.5.3"
pydot = "^1.4.2"
genbadge = {extras = ["all"], version = "^1.1.0"}
pytest-cov = "^3.0.0"
coverage = {extras = ["toml"], version = "^6.4.4"}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
length_sort = true
[tool.black]
force-exclude= "^migrations/"
[tool.semantic_release]
version_variable = [
"hourglass_tensorflow/__init__.py:__version__",
]
version_toml= "pyproject.toml:tool.poetry.version"
version_source= "commit"
prerelease_tag= "rc"
tag_commit = true
branch = "main"
upload_to_pypi = false
upload_to_release = true
commit_parser = "ci.commit_parser.ocarinow_commit_parser"
build_command = "pip install poetry && poetry build"
changelog_file="CHANGELOG.md"
changelog_placeholder="<!--next-version-placeholder-->"
pre_commit_command = "pip install -r requirements.txt && bash ci/pre_commit_command.sh"
include_additional_files="reports/flake8-badge.svg,reports/tests-badge.svg,reports/coverage-badge.svg"
[tool.coverage.run]
branch = true
data_file = "reports/.coverage"
source = ['hourglass_tensorflow']
[tool.coverage.html]
title = "wbenbihi/hourglasstensorlfow coverage report"
directory = "reports/coverage"
show_contexts = true
[tool.coverage.xml]
output = "reports/coverage.xml"
[tool.pytest.ini_options]
addopts = "--junitxml=reports/junit.xml --cov=hourglass_tensorflow --cov-report=html --cov-report=xml --cov-context=test"
filterwarnings = ["ignore::DeprecationWarning"]