-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
95 lines (85 loc) · 1.98 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[build-system]
requires = ["hatchling", "hatch-fancy-pypi-readme"]
build-backend = "hatchling.build"
[project]
name = "notion-api"
authors = [
{name = "Alan Vickers", email = "[email protected]"},
]
description = "An unofficial wrapper for Notion's API, aiming to simplify the dynamic nature of interacting with Notion."
dynamic = ["version", "readme"]
requires-python = ">=3.10"
keywords = [
"notion",
"notion-api",
"api-wrapper",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
]
dependencies = [
"requests>=2.28.2",
"pytz>=2022.7.1",
"tzlocal>=4.2",
]
[project.urls]
Homepage = "https://github.com/ayvi-0001/notion-api"
"Source Code" = "https://github.com/ayvi-0001/notion-api"
[tool.hatch.metadata.hooks.fancy-pypi-readme]
content-type = "text/markdown"
fragments = [
{ path = "README.md" },
]
[tool.hatch.version]
source = "code"
search-paths = ["notion"]
path = "notion/api/_about.py"
[tool.hatch.license]
path = "LICENSE"
search-paths = ["/"]
[tool.hatch.build]
include = [
"/notion",
"/notion*",
"README.md",
"LICENSE",
]
exclude = [
".gitignore",
".gitattributes",
"/images",
"/tests",
]
[project.optional-dependencies]
dev = [
"black>=23.3.0",
"isort>=5.12.0",
"mypy>=1.3.0",
"mypy-extensions>=1.0.0",
"typing_extensions>=4.5.0",
"types-pytz>=2023.3.0.0",
"types-requests>=2.28.11.17",
"types-tzlocal>=4.3.0.0",
"types-urllib3>=1.26.25.10"
]
[tool.black]
line-length = 90
# force-exclude = '''.*conditions.py|.*errors.py'''
[tool.isort]
profile = "black"
line_length = 90
skip_gitignore = true
[tool.mypy]
strict = true
pretty = true
show_error_codes = true
incremental = true
disallow_untyped_defs = true
show_column_numbers = true
show_error_context = true
allow_redefinition = true