-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
116 lines (102 loc) · 1.89 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[project]
name = "gke-taskflow"
authors = [
{name = "Recursion Pharmaceuticals", email = "[email protected]"},
]
version = "1.0.0"
readme = "README.md"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords=["gke-taskflow"]
requires-python = ">=3.8"
dependencies = [
"apache-airflow-providers-cncf-kubernetes",
"apache-airflow-providers-google",
]
[project.entry-points."apache_airflow_provider"]
provider_info = "gke_taskflow.operators.gke_taskflow:get_provider_info"
[project.optional-dependencies]
dev = [
"bandit",
"black",
"itsdangerous",
"mypy",
"packaging",
"pre-commit",
"pytest",
"pyupgrade",
"radon",
"roadie",
"ruff",
"time-machine",
"types-click",
"types-pkg_resources",
"tox",
"validate-pyproject[all]",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.pytest.ini_options]
addopts = [
"--ignore", "setup.py",
"--ignore", "run_test.py",
"--tb", "native",
"--strict-markers",
"--durations=20",
]
testpaths = ["tests"]
env = [
"PYTHONHASHSEED=0",
]
[tool.mypy]
files = "gke_taskflow"
python_version = "3.10"
ignore_missing_imports = true
show_error_codes = true
# strict = true
allow_untyped_calls = true
[tool.isort]
profile = "black"
py_version = "auto"
line_length = 120
[tool.bandit]
exclude = "tests"
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311"]
[tool.ruff]
select = ["E", "F"]
ignore = []
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".mypy_cache",
".nox",
".ruff_cache",
".tox",
".venv",
"__pypackages__",
"_build",
"build",
"dist",
"venv",
]
line-length = 120
target-version = "py310"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py310
[testenv]
commands =
mypy --install-types --non-interactive
pytest
passenv = *
skip_install=false
deps = -rrequirements/dev_3.10.txt
"""