Skip to content

Commit 391ef23

Browse files
authored
Inline current server fixtures (#17)
1 parent dcf748c commit 391ef23

File tree

4 files changed

+295
-76
lines changed

4 files changed

+295
-76
lines changed

pyproject.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ client = [
4242
server = [
4343
"jupyter_server",
4444
"nbformat",
45+
"pytest-tornasync"
4546
]
4647
test = [
48+
"pytest-jupyter[server]",
4749
"pytest-timeout"
4850
]
4951

@@ -74,7 +76,7 @@ nowarn = "test -W default {args}"
7476
features = ["test"]
7577
dependencies = ["coverage", "pytest-cov"]
7678
[tool.hatch.envs.cov.scripts]
77-
test = "python -m pytest -vv --cov pytest-jupyter --cov-branch --cov-report term-missing:skip-covered {args}"
79+
test = "python -m pytest -vv --cov pytest_jupyter --cov-branch --cov-report term-missing:skip-covered {args}"
7880
nowarn = "test -W default {args}"
7981

8082
[tool.pytest.ini_options]
@@ -105,6 +107,20 @@ exclude_lines = [
105107
"@(abc\\.)?abstractmethod",
106108
]
107109

110+
[tool.mypy]
111+
check_untyped_defs = true
112+
disallow_incomplete_defs = true
113+
no_implicit_optional = true
114+
pretty = true
115+
show_error_context = true
116+
show_error_codes = true
117+
strict_equality = true
118+
warn_unused_configs = true
119+
warn_unused_ignores = true
120+
warn_redundant_casts = true
121+
explicit_package_bases = true
122+
namespace_packages = true
123+
108124
[tool.flake8]
109125
ignore = "E501, W503, E402"
110126
builtins = "c, get_config"

0 commit comments

Comments
 (0)