-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
93 lines (82 loc) · 2.23 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
[build-system]
requires = ["hatchling>=1.5"]
build-backend = "hatchling.build"
[project]
name = "message_replay"
authors = [{name = "Matt Wiese", email = "[email protected]"}]
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.8"
keywords = ["Jupyter", "Extension"]
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: Jupyter",
]
dependencies = ["jupyter_server>=1.6,<3"]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-jupyter[server]>=0.6"
]
lint = [
"black>=22.6.0",
"mdformat>0.7",
"mdformat-gfm>=0.3.5",
"ruff>=0.0.156"
]
typing = ["mypy>=0.990"]
[project.license]
file="LICENSE"
[project.urls]
Home = "https://github.com/jupyter-server/message_replay"
[tool.hatch.version]
path = "message_replay/__init__.py"
[tool.hatch.build.targets.wheel.shared-data]
"jupyter-config" = "etc/jupyter"
[tool.pytest.ini_options]
filterwarnings = [
"error",
"ignore:There is no current event loop:DeprecationWarning",
"module:make_current is deprecated:DeprecationWarning",
"module:clear_current is deprecated:DeprecationWarning",
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
]
[tool.mypy]
check_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
pretty = true
show_error_context = true
show_error_codes = true
strict_equality = true
warn_unused_configs = true
warn_unused_ignores = true
warn_redundant_casts = true
[tool.black]
line-length = 100
target-version = ["py38"]
skip-string-normalization = true
[tool.ruff]
target-version = "py38"
line-length = 100
select = [
"A", "B", "C", "E", "F", "FBT", "I", "N", "Q", "RUF", "S", "T",
"UP", "W", "YTT",
]
ignore = [
# Q000 Single quotes found but double quotes preferred
"Q000",
# FBT001 Boolean positional arg in function definition
"FBT001", "FBT002", "FBT003",
# C901 `foo` is too complex (12)
"C901",
]
[tool.ruff.per-file-ignores]
# S101 Use of `assert` detected
"message_replay/tests/*" = ["S101"]