-
Notifications
You must be signed in to change notification settings - Fork 93
/
pyproject.toml
199 lines (179 loc) · 4.72 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
### Build ###
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = [
"src/_nebari",
"src/nebari",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "src/_nebari/_version.py"
local_scheme = "node-and-timestamp"
### Project ###
[project]
name = "nebari"
dynamic = ["version"]
description = "A Jupyter and Dask-powered open source data science platform."
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
authors = [
{ name = "Nebari development team", email = "[email protected]" },
]
keywords = [
"aws",
"gcp",
"do",
"azure",
"nebari",
"dask",
"jupyter",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Framework :: Jupyter :: JupyterLab",
]
dependencies = [
"auth0-python==4.7.1",
"azure-identity==1.12.0",
"azure-mgmt-containerservice==26.0.0",
"azure-mgmt-resource==23.0.1",
"bcrypt==4.0.1",
"boto3==1.34.63",
"cloudflare==2.11.7",
"google-auth==2.31.0",
"google-cloud-compute==1.19.1",
"google-cloud-container==2.49.0",
"google-cloud-iam==2.15.1",
"google-cloud-storage==2.18.0",
"grpc-google-iam-v1==0.13.1",
"jinja2",
"kubernetes==27.2.0",
"pluggy==1.3.0",
"prompt-toolkit==3.0.36",
"pydantic==2.9.2",
"pynacl==1.5.0",
"python-keycloak>=3.9.0,<4.0.0",
"questionary==2.0.0",
"requests-toolbelt==1.0.0",
"rich==13.5.1",
"ruamel.yaml==0.18.6",
"typer==0.9.0",
"packaging==23.2",
"typing-extensions>=4.11.0",
]
[project.optional-dependencies]
dev = [
"black==22.3.0",
"coverage[toml]",
"dask-gateway",
"escapism",
"importlib-metadata<5.0",
"mypy==1.6.1",
"paramiko",
"pre-commit",
"pytest-cov",
"pytest-playwright",
"pytest-timeout",
"pytest",
"python-dotenv",
"python-hcl2",
"setuptools==63.4.3",
"tqdm",
]
docs = [
"sphinx",
"sphinx_click",
]
[project.urls]
Documentation = "https://www.nebari.dev/docs/welcome"
Source = "https://github.com/nebari-dev/nebari"
[project.scripts]
nebari = "nebari.__main__:main"
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
files = [
"src/_nebari",
"src/nebari",
]
exclude = [
"src/_nebari/stages/kubernetes_services/template" # skip traitlets configuration files
]
[[tool.mypy.overrides]]
module = [
"auth0.authentication",
"auth0.management",
"CloudFlare",
"kubernetes",
"kubernetes.client",
"kubernetes.config",
"kubernetes.client.rest",
"kubernetes.client.exceptions",
"keycloak",
"keycloak.exceptions",
"boto3",
"botocore.exceptions",
]
ignore_missing_imports = true
[tool.ruff]
extend-exclude = [
"src/_nebari/template",
"home",
"__pycache__"
]
[tool.ruff.lint]
select = [
"E", # E: pycodestyle rules
"F", # F: pyflakes rules
"PTH", # PTH: flake8-use-pathlib rules
]
ignore = [
"E501", # Line too long
"F821", # Undefined name
"PTH123", # open() should be replaced by Path.open()
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
ignore_errors = false
[tool.typos]
files.extend-exclude = ["_build", "*/build/*", "*/node_modules/*", "nebari.egg-info", "*.git", "*.js", "*.json", "*.yaml", "*.yml", "pre-commit-config.yaml"]
default.extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos: ignore$"]
default.extend-ignore-words-re = ["aks", "AKS"]
default.check-filename = true
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '_build,*/build/*,*/node_modules/*,nebari.egg-info,*.git,package-lock.json,*.lock'
check-hidden = true
ignore-regex = '^\s*"image/\S+": ".*'
ignore-words-list = 'aks'