-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (96 loc) · 2.47 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
117
118
[build-system]
requires = ["setuptools >= 68.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
[tool.setuptools.dynamic]
version = { attr = "orbiter_translations.__version__" }
[tool.setuptools.packages.find]
exclude = [
"*venv", "*venv.*",
"*tests.*", "*tests",
"*build", "*build.*",
"*dist", "*dist.*"
]
[project]
dynamic = ["version"]
name = "orbiter-community-translations"
description = "Astronomer Orbiter can take your legacy workloads and land them safely down in a new home on Apache Airflow!"
readme = "README.md"
authors = [
{ name = "Fritz Davenport", email = "[email protected]" },
{ name = "CETA Team", email = "[email protected]" },
{ name = "Astronomer", email = "[email protected]" },
]
license = { file = "LICENSE" }
requires-python = ">= 3.10"
dependencies = [
# for converting to snake_case
"inflection",
# for templating within @rules
"jinja2",
# for parsing xml
"defusedxml",
# for deep-parsing dicts within @rules
"jq",
# logging
"loguru",
# backport
"eval_type_backport; python_version < '3.10'",
]
[project.optional-dependencies]
dev = [
# for testing
"astronomer-orbiter",
# package
"build",
"twine>=4.0.2",
# for generating docs
"mkdocs",
"mkdocs-click",
"mkdocs-material",
"mkdocstrings-python",
"pygments",
# test
"pytest>=7.4",
"pytest-cov>=4.1",
"pytest-sugar>=0.9.7",
"pytest-mock",
# lint
"black>=23.12.0",
"ruff>=0.1.0",
"pylint>=3.0.0",
"isort>=5.13.0",
# pre-commit
"pre-commit>=3.6.0; python_version >= '3.9'",
"detect-secrets>=1.4.0",
]
[project.urls]
Homepage = "https://astronomer.io"
Source = "https://github.com/astronomer/orbiter-community-translations"
[tool.bandit]
exclude_dirs = ["tests"]
skips = []
[tool.black]
# https://github.com/psf/black
color = true
[tool.ruff]
line-length = 120
[tool.pytest.ini_options]
pythonpath = ["."]
norecursedirs = [
"*expected*", "*output*", "*dags/", "*dags/*",
"venv", "*.egg", ".eggs", "dist", "build", "docs", ".tox", ".git", "__pycache__"
]
testpaths = ["orbiter_translations", "tests"]
doctest_optionflags = ["ELLIPSIS", "NUMBER", "NORMALIZE_WHITESPACE", "IGNORE_EXCEPTION_DETAIL"]
addopts = [
"-s",
"--continue-on-collection-errors",
"--strict-markers",
"--tb=short",
"--disable-warnings",
"--no-header",
"--doctest-modules",
"--doctest-continue-on-failure",
]