forked from argoproj-labs/hera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (89 loc) · 2.79 KB
/
pyproject.toml
File metadata and controls
104 lines (89 loc) · 2.79 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[tool.poetry]
name = "hera-workflows"
# The version is automatically substituted by the CI
version = "0.0.0-dev"
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 <flaviu.vadan@dynotx.com>", "Asgeir Berland <asgeir.berland@oda.com>"]
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"
pyyaml = { version = ">=6.0", optional = true }
argo-workflows = { version = "6.3.5", allow-prereleases = true }
[tool.poetry.extras]
yaml = ["PyYAML"]
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-cov = "*"
black = "*"
pyproject-flake8 = "*"
mypy = "*"
build = "*"
isort = "*"
tox = "<4.0"
types-PyYAML = "*"
jsonpath-ng = "^1.5.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 119
skip-string-normalization = true
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"
filterwarnings = [
# Hide the hera.host_config deprecations
'ignore:.*is deprecated in favor of `global_config.GlobalConfig',
]
[tool.isort]
known_first_party = ["hera"]
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