@@ -42,8 +42,10 @@ client = [
42
42
server = [
43
43
" jupyter_server" ,
44
44
" nbformat" ,
45
+ " pytest-tornasync"
45
46
]
46
47
test = [
48
+ " pytest-jupyter[server]" ,
47
49
" pytest-timeout"
48
50
]
49
51
@@ -74,7 +76,7 @@ nowarn = "test -W default {args}"
74
76
features = [" test" ]
75
77
dependencies = [" coverage" , " pytest-cov" ]
76
78
[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}"
78
80
nowarn = " test -W default {args}"
79
81
80
82
[tool .pytest .ini_options ]
@@ -105,6 +107,20 @@ exclude_lines = [
105
107
" @(abc\\ .)?abstractmethod" ,
106
108
]
107
109
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
+
108
124
[tool .flake8 ]
109
125
ignore = " E501, W503, E402"
110
126
builtins = " c, get_config"
0 commit comments