Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (79 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (79 loc) · 2.22 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
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[project]
name = "cortex"
version = "7.0.6"
description = "Cortex Framework"
requires-python = ">=3.13,<3.14"
dependencies = [
"google-cloud-bigquery>=3.40.1",
"pydantic>=2.13.3",
"pyyaml>=6.0.3",
"google-cloud-dataform>=0.9.0",
"google-cloud-resource-manager>=1.16.0",
"google-cloud-service-usage>=1.15.0",
"jinja2>=3.1.6",
"google-auth>=2.48.0",
"google-cloud-storage>=3.10.1",
"google-cloud-bigquery-reservation>=1.25.0",
"google-cloud-dataplex>=2.20.0",
]
[project.scripts]
cortex-build = "tools.build:main"
cortex-deploy = "tools.deploy:main"
cortex-build-and-deploy = "tools.run_all:main"
cortex-demo = "tools.demo:main"
cortex-kc-sync = "tools.kc_sync:main"
cortex-config = "tools.config:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/common", "src/tools", "src/data_foundation", "src/data_product"]
[dependency-groups]
dev = [
"ruff>=0.15.4",
"pytest>=8.0.0",
"pytest-mock>=3.14.0",
"mypy>=1.19.1",
"types-PyYAML>=6.0.2",
"types-protobuf>=6.32.1.20260221",
"zetasql>=0.1.5",
"keyrings-google-artifactregistry-auth>=1.1.2",
]
[tool.ruff]
line-length = 100
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM",# flake8-simplify
]
ignore = []
[tool.pytest.ini_options]
pythonpath = [
"src"]
[tool.mypy]
plugins = ["pydantic.mypy"]
mypy_path = "src"
explicit_package_bases = true
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
default = true