-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (62 loc) · 1.61 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (62 loc) · 1.61 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
[project]
name = "mln-data-transform"
version = "0.1.0"
description = ""
readme = "README.md"
authors = [
{ name = "Charlotte Kostelic", email = "charlottekostelic@bookops.org" }
]
requires-python = ">=3.13"
dependencies = [
"bookops-nypl-platform",
"bookops-sierra",
"bookops-marc",
"dotenv>=0.9.9",
"pandas>=3.0.2",
"pandas-stubs>=3.0.0.260204",
"rich>=15.0.0",
"google-api-python-client (>=2.196)",
"google-auth-oauthlib (>=1.4)",
"bookops-worldcat>=1.2.0",
"pydantic>=2.13.4",
]
[project.scripts]
mln-data-transform = "mln_data_transform:main"
[tool.uv.sources]
bookops-nypl-platform = { git = "https://github.com/BookOps-CAT/bookops-nypl-platform" }
bookops-sierra = { git = "https://github.com/BookOps-CAT/bookops-sierra.git" }
bookops-marc = { git = "https://github.com/BookOps-CAT/bookops-marc.git" }
[build-system]
requires = ["uv_build>=0.11.15,<0.12.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=9.0.3",
"pytest-cov (>=7.1.0)",
"pytest-mock>=3.15.1",
]
[tool.mypy]
mypy_path = "src"
plugins = ['pydantic.mypy']
[[tool.mypy.overrides]]
module = ["tests.*"]
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"livetest: mark a test hitting live web services",
]
addopts = '-m "not livetest" --cov=mln_data_transform'
[tool.coverage.run]
branch = true
relative_files = true
source = ["."]
omit = ["tests/*"]
[tool.ruff.lint]
select = ["F", "E", "ANN"]
ignore = ["ANN401"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["E501", "ANN"]
[tool.ruff.format]
skip-magic-trailing-comma = true