forked from argoproj-labs/hera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (77 loc) · 2.37 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
83
84
85
86
87
88
89
90
[tool.poetry]
name = "hera-workflows"
version = "4.0.0rc3"
description = "Hera is a Python framework for constructing and submitting Argo Workflows. The main goal of Hera is to make Argo Workflows more accessible by abstracting away some setup that is typically necessary for constructing Argo workflows."
authors = ["Flaviu Vadan <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/argoproj-labs/hera-workflows"
repository = "https://github.com/argoproj-labs/hera-workflows"
documentation = "https://github.com/argoproj-labs/hera-workflows/README.md"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
packages = [
{ include = "hera", from = "src" }
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/argoproj-labs/hera-workflows/issues"
[tool.poetry.dependencies]
python = ">=3.7,<4"
python-dateutil = "^2.8.2"
urllib3 = "^1.26.8"
certifi = "^2021.10.8"
pytz = "^2021.3"
argo-workflows = { version = "6.3.5", allow-prereleases = true }
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
black = "*"
pyproject-flake8 = "*"
mypy = "*"
build = "*"
isort = "*"
tox = "<4.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 119
target-version = ['py37']
include = '\.pyi?$'
[tool.flake8]
# do not look here for things to lint
exclude = [".git", "__init__.py"]
docstring-convention = "numpy"
max-line-length = 119
[tool.pytest.ini_options]
addopts = "-ra -q"
[tool.isort]
profile = "black"
skip_gitignore = true
skip_glob = [".venv/*", ".mypy_cache/*", ".pytest_cache/*", ".github/*", ".git/*"]
[tool.mypy]
mypy_path = "src"
check_untyped_defs = true
no_implicit_optional = true
strict_optional = false
[[tool.mypy.overrides]]
module = "mypy-argo.workflows.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mypy-urllib3.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mypy-pytz.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "mypy-pkg_resources.*"
ignore_missing_imports = true