-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (64 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
70 lines (64 loc) · 1.27 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
[project]
name = "py-notion-client"
version = "0.1.0"
description = "Python wrapper for Notion API"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"httpx>=0.27.2",
"loguru>=0.7.2",
"pydantic-settings>=2.6.0",
"pydantic>=2.9.2",
"python-dotenv>=1.0.1",
"requests>=2.32.3",
]
[tool.uv]
dev-dependencies = [
"coverage>=7.6.3",
"pytest>=8.3.3",
"pytest-asyncio>=0.24.0",
"pytest-env>=1.1.5",
"pytest-richer>=0.1.1",
"ruff>=0.7.0",
"pyright>=1.1.385",
"mypy>=1.12.1",
]
package = true
[tool.pyright]
exclude = ["tests", ".venv"]
[tool.pytest.ini_options]
python_files = "tests.py test_*.py *_tests.py"
asyncio_default_fixture_loop_scope = "function"
addopts = "-ra -q --rich"
testpaths = [
"tests",
]
filterwarnings = [
"error",
"ignore::DeprecationWarning",
"ignore:.*unclosed.*:ResourceWarning",
]
env = [
"ENVIRONMENT=TEST",
]
[tool.coverage.run]
omit = [
"tests/*"
]
relative_files = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"class .*\\(.*\\bProtocol\\b.*\\):",
"@(?:typing\\.)?overload",
"if TYPE_CHECKING:",
"raise NotImplementedError"
]
omit = [
"tests/*",
]
show_missing = true
skip_covered = true
skip_empty = true
precision = 2
fail_under = 90.0