@@ -42,8 +42,10 @@ client = [
4242server = [
4343 " jupyter_server" ,
4444 " nbformat" ,
45+ " pytest-tornasync"
4546]
4647test = [
48+ " pytest-jupyter[server]" ,
4749 " pytest-timeout"
4850]
4951
@@ -74,7 +76,7 @@ nowarn = "test -W default {args}"
7476features = [" test" ]
7577dependencies = [" 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}"
7880nowarn = " 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 ]
109125ignore = " E501, W503, E402"
110126builtins = " c, get_config"
0 commit comments