-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
65 lines (59 loc) · 1.62 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
[project]
name = "surrantic"
version = "0.2.2"
description = "A simple Pydantic ORM implementation for SurrealDB"
readme = "README.md"
authors = [
{ name = "LUIS NOVO", email = "[email protected]" }
]
license = { text = "MIT" }
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Database",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
]
dependencies = [
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
"surrealdb==0.4.1",
]
[project.urls]
Homepage = "https://github.com/lfnovo/surrantic"
Repository = "https://github.com/lfnovo/surrantic.git"
Documentation = "https://github.com/lfnovo/surrantic#readme"
"Bug Tracker" = "https://github.com/lfnovo/surrantic/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
check_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
markers = [
"integration: marks tests that require a running SurrealDB instance"
]
asyncio_mode = "strict"
addopts = "-ra -q --cov=surrantic"
[dependency-groups]
dev = [
"ipykernel>=6.29.5",
"mypy>=1.14.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.25.0",
"pytest-cov>=6.0.0",
]