-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (125 loc) · 2.63 KB
/
pyproject.toml
File metadata and controls
137 lines (125 loc) · 2.63 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
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
[project]
name = "auto_survey"
version = "0.2.4.dev"
description = "Automated literature surveys."
readme = "README.md"
authors = [
{name = "Dan Saattrup Smart", email = "saattrupdan@gmail.com"},
]
maintainers = [
{name = "Dan Saattrup Smart", email = "saattrupdan@gmail.com"},
]
requires-python = ">=3.11,<4.0"
dependencies = [
"click>=8.3.0",
"docling>=2.55.0",
"httpx==0.27.2",
"litellm>=1.77.7",
"python-dotenv>=1.1.1",
"termcolor>=3.1.0",
]
[project.urls]
Repository = "https://github.com/saattrupdan/auto-survey"
Issues = "https://github.com/saattrupdan/auto-survey/issues"
[project.license]
file = "LICENSE"
[project.scripts]
auto-survey = "auto_survey.cli:main"
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-cov>=6.2.1",
"pre-commit>=4.3.0",
"readme-coverage-badger>=1.0.1",
"click>=8.2.1",
"ruff>=0.13.2",
"mypy>=1.18.2",
"nbstripout>=0.8.1",
"coverage>=7.10.5",
"mkdocs-material>=9.6.18",
"mkdocs-include-markdown-plugin>=7.1.6",
"mkdocs-include-dir-to-nav>=1.2.0",
"mkapi>=4.4.5",
"pip>=25.0.1",
]
[tool.ruff]
target-version = "py311"
line-length = 88
exclude = [
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".venv",
]
extend-include = [
"*.ipynb",
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
docstring-code-format = true
skip-magic-trailing-comma = true
[tool.ruff.lint]
select = [
# isort (imports)
"I",
# pydocstyle (docstrings)
"D",
# pycodestyle errors and warnings (PEP8)
"E",
"W",
# flake-annotations (type hints)
"ANN",
# Pyflakes
"F",
]
ignore = [
# Type annotations for "self" arguments
"ANN101",
# Type annotations for "cls" arguments
"ANN102",
# Type annotations for *args
"ANN002",
# Type annotations for **kwargs
"ANN003",
# Docstrings for **kwargs
"D417",
]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = [
"F401",
]
"src/scripts/main.py" = [
"I",
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
minversion = "7.0"
addopts = [
'--durations=10',
'--color=yes',
'--doctest-modules',
'--cov=src/auto_survey',
]
xfail_strict = true
filterwarnings = [
"error",
"ignore::UserWarning",
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::ImportWarning",
"ignore::ResourceWarning",
"ignore::FutureWarning",
]
log_cli_level = "info"
testpaths = [
"tests",
"src/auto_survey",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"