-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (60 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (60 loc) · 1.27 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
[project]
name = "dataone-auth"
version = "0.1.0"
description = "DataONE OIDC Auth package"
readme = "README.md"
authors = [
{ name = "Rushiraj Nenuji", email = "nenuji@nceas.ucsb.edu" },
{ name = "Jeanette Clark", email = "jclark@nceas.ucsb.edu" },
{ name = "Matthew B. Jones", email = "jones@nceas.ucsb.edu" }
]
requires-python = ">=3.11"
dependencies = [
"authlib>=1.7.2",
"httpx>=0.28.1",
"joserfc>=1.6.5",
"requests>=2.33.1",
]
[project.optional-dependencies]
flask = [
"flask>=3.1.3",
"werkzeug>=3.1.8",
]
fastapi = [
"fastapi>=0.136.1",
"httpx>=0.28.1",
"starlette>=1.0.0",
]
starlette = [
"httpx>=0.28.1",
]
[tool.hatch.build.targets.wheel]
packages = ["src/dataone"]
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"ruff>=0.15.12",
"nox",
"mypy",
]
[tool.ruff]
line-length = 88
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v"
[[tool.mypy.overrides]]
module = [
"authlib.*",
]
ignore_missing_imports = true