forked from jupyter/jupyter_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
164 lines (143 loc) · 3.97 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
[build-system]
requires = ["hatchling>=0.25"]
build-backend = "hatchling.build"
[project]
name = "jupyter_client"
version = "7.3.5"
description = "Jupyter protocol implementation and client libraries"
keywords = [ "Interactive", "Interpreter", "Shell", "Web",]
classifiers = [
"Framework :: Jupyter",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
requires-python = ">=3.7"
dependencies = [
"entrypoints",
"jupyter_core>=4.9.2",
"nest-asyncio>=1.5.4",
"python-dateutil>=2.8.2",
"pyzmq>=23.0",
"tornado>=6.2",
"traitlets",
]
[[project.authors]]
name = "Jupyter Development Team"
email = "[email protected]"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
file = "COPYING.md"
[project.urls]
Homepage = "https://jupyter.org"
[project.optional-dependencies]
test = [
"codecov",
"coverage",
"ipykernel>=6.5",
"ipython",
"mypy",
"pre-commit",
"pytest",
"pytest-asyncio>=0.18",
"pytest-cov",
"pytest-timeout",
]
doc = [
"ipykernel",
"myst-parser",
"sphinx>=1.3.6",
"sphinx_rtd_theme",
"sphinxcontrib_github_alt",
]
[project.scripts]
jupyter-kernelspec = "jupyter_client.kernelspecapp:KernelSpecApp.launch_instance"
jupyter-run = "jupyter_client.runapp:RunApp.launch_instance"
jupyter-kernel = "jupyter_client.kernelapp:main"
[project.entry-points."jupyter_client.kernel_provisioners"]
local-provisioner = "jupyter_client.provisioning:LocalProvisioner"
[tool.black]
line-length = 100
skip-string-normalization = true
target_version = [
"py37",
"py38",
"py39",
"py310",
]
[tool.jupyter-releaser]
skip = ["check-links"]
[tool.check-manifest]
ignore = [".mailmap", "*.yml", "*.yaml"]
[tool.tbump.version]
current = "7.3.5"
regex = '''
(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
((?P<channel>a|b|rc|.dev)(?P<release>\d+))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "jupyter_client/_version.py"
[[tool.tbump.file]]
src = "pyproject.toml"
[tool.pytest.ini_options]
addopts = "-raXs --durations 10 --color=yes --doctest-modules"
testpaths = [
"jupyter_client/tests/"
]
timeout = 300
# Restore this setting to debug failures
# timeout_method = "thread"
asyncio_mode = "auto"
filterwarnings= [
# Fail on warnings
"error",
# We need to handle properly closing loops as part of https://github.com/jupyter/jupyter_client/issues/755.
"ignore:unclosed <socket.socket:ResourceWarning",
"ignore:unclosed event loop:ResourceWarning",
# Workaround for https://github.com/tornadoweb/tornado/issues/3106
# (To be fixed in Tornado 6.2)
"ignore:There is no current event loop:DeprecationWarning:tornado",
# ZMQ uses Future internally, which raises a DeprecationWarning
# When there is no loop running.
# We could eventually find a way to make sure these are only created
# when there is a running event loop.
"ignore:There is no current event loop:DeprecationWarning:zmq",
]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
no_implicit_reexport = false
pretty = true
show_error_context = true
show_error_codes = true
strict_equality = true
strict_optional = true
warn_unused_configs = true
warn_redundant_casts = true
warn_return_any = false
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"traitlets.*",
"jupyter_core.*",
"ipykernel",
"entrypoints"
]
ignore_missing_imports = true