-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (64 loc) · 1.59 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
[project]
name = "parliai_public"
description = "Using LLMs to capture coverage of organisations, people or themes in UK political debate."
authors = [
{ name = "Data Science Campus", email = "[email protected]" }
]
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"bs4>=0.0.1",
"email-validator>=2.1.0.post1",
"feedparser>=6.0.11",
"google-cloud-secret-manager>=2.19.0",
"langchain-community>=0.0.13",
"langchain-google-vertexai>=0.0.1",
"langchain>=0.1.0",
"notifications-python-client>=9.0.0",
"python-dotenv>=1.0.1",
"toml>=0.10.2",
"tqdm>=4.66.1",
]
[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.dynamic]
version = { attr = "parliai_public.__version__" }
[tool.setuptools.package-data]
parliai_public = ["_config/*.toml"]
[project.optional-dependencies]
test = [
"hypothesis>=6.98.6",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-randomly>=3.15.0",
"python-dateutil>=2.9.0",
]
dev = [
"pre-commit==3.3.3",
"ruff==0.3.0",
"parliai_public[test]"
]
# `coverage` configurations
[tool.coverage.run]
source = [
"./src"
]
omit = ["**/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"if __name__ == .__main__.:"
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
extend-select = ["D", "I", "W"]
ignore = ["D105", "D107", "D202"]
[tool.ruff.lint.isort]
known-first-party = ["parliai_public"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"