-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
97 lines (81 loc) · 2.17 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
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
[build-system]
requires = ["hatchling>=1.10.0", "hatch-nodejs-version"]
build-backend = "hatchling.build"
[project]
name = "jupyter-ydoc"
dynamic = ["version"]
description = "Document structures for collaborative editing using Ypy"
requires-python = ">=3.8"
keywords = ["jupyter", "pycrdt", "yjs"]
dependencies = [
"importlib_metadata >=3.6; python_version<'3.10'",
"pycrdt >=0.10.1,<0.11.0",
]
[[project.authors]]
name = "Jupyter Development Team"
email = "jupyter@googlegroups.com"
[project.optional-dependencies]
dev = [
"click",
"jupyter_releaser",
"pre-commit"
]
test = [
"pre-commit",
"pytest",
"pytest-asyncio",
"httpx-ws >=0.5.2",
"hypercorn >=0.16.0",
"pycrdt-websocket >=0.15.0,<0.16.0",
]
docs = [
"sphinx",
"myst-parser",
"pydata-sphinx-theme"
]
[project.entry-points.jupyter_ydoc]
blob = "jupyter_ydoc.yblob:YBlob"
file = "jupyter_ydoc.yfile:YFile"
unicode = "jupyter_ydoc.yunicode:YUnicode"
notebook = "jupyter_ydoc.ynotebook:YNotebook"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
text = "BSD 3-Clause License"
[project.urls]
Homepage = "https://jupyter.org"
Source = "https://github.com/jupyter-server/jupyter_ydoc"
[tool.hatch.version]
source = "nodejs"
path = "javascript/package.json"
[tool.hatch.build]
exclude = ["javascript", "!javascript/package.json"]
[tool.hatch.build.hooks.version]
path = "jupyter_ydoc/_version.py"
[tool.check-manifest]
ignore = [".*"]
[tool.jupyter-releaser]
skip = [
"check-links",
"check-manifest",
]
[tool.jupyter-releaser.hooks]
before-build-npm = ["cd javascript && yarn && yarn build"]
before-bump-version = ["pip install -e .[dev]"]
[tool.jupyter-releaser.options]
version_cmd = "hatch version"
[tool.ruff]
line-length = 100
lint.select = [
"ASYNC", # flake8-async
"E", "F", "W", # default Flake8
"G", # flake8-logging-format
"I", # isort
"ISC", # flake8-implicit-str-concat
"PGH", # pygrep-hooks
"RUF100", # unused noqa (yesqa)
"UP", # pyupgrade
]