-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
72 lines (65 loc) · 1.66 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
[project]
name = "openml-server-api"
version = "0.0.1"
authors = [
{ name="Pieter Gijsbers" },
]
description = "The Python-based REST API for OpenML."
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"fastapi",
"pydantic<2.7",
"uvicorn",
"sqlalchemy",
"mysqlclient",
"python_dotenv",
"xmltodict",
]
[project.optional-dependencies]
dev = [
"pre-commit",
"pytest",
"pytest-mock",
"httpx",
"hypothesis",
"deepdiff",
]
docs = [
"mkdocs-material",
"mkdocs-section-index",
]
[project.urls]
"Homepage" = "https://github.com/openml/server-api"
"Bug Tracker" = "https://github.com/openml/server-api/issues"
[tool.bandit.assert_used]
skips = ["./tests/*"]
[tool.black]
line-length = 100
[tool.ruff]
select = ["A", "ARG", "B", "COM", "C4", "E", "EM", "F", "I001", "PT", "PTH", "T20", "RET", "SIM"]
line-length = 100
[tool.mypy]
strict = true
plugins = [
"pydantic.mypy"
]
[tool.pytest.ini_options]
pythonpath = [
"src"
]
markers = [
"slow: test or sets of tests which take more than a few seconds to run.",
# While the `mut`ation marker below is not strictly necessary as every change is
# executed within transaction that is rolled back, it can halt other unit tests which
# whose queries may depend on the execution or rollback of the transaction.
"mut: executes a mutation on the database (in a transaction which is rolled back)",
]
filterwarnings = [
'ignore:A private pytest class or function was used.:DeprecationWarning:tests.conftest:119',
]