-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
47 lines (41 loc) · 908 Bytes
/
pyproject.toml
File metadata and controls
47 lines (41 loc) · 908 Bytes
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
[project]
name = "WikidataTextifier"
version = "0.1.0"
description = "Transforms Wikidata entities into text representations."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.116.1",
"gunicorn>=23.0.0",
"pymysql>=1.1.2",
"rdflib>=7.5.0",
"requests>=2.32.4",
"sqlalchemy>=2.0.41",
"uvicorn>=0.35.0",
]
[dependency-groups]
dev = [
"pytest>=8.4.2",
"ruff>=0.9.0"
]
[tool.ruff]
target-version = "py313"
line-length = 120
exclude = ["data/mysql"]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # Pyflakes (catches undefined names, unused imports, etc.)
"I", # isort (import sorting)
"D", # pydocstyle (function/class documentation)
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.isort]
known-first-party = [
"wikidatasearch"
]
[tool.pytest.ini_options]
testpaths = [
"tests"
]