forked from jupyter/jupyter_core
/
pyproject.toml
40 lines (36 loc) · 870 Bytes
/
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
[build-system]
requires = ["setuptools>=60.0"]
build-backend = "setuptools.build_meta"
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = false
disallow_incomplete_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
no_implicit_reexport = false
pretty = true
show_error_context = true
show_error_codes = true
strict_equality = true
strict_optional = true
warn_unused_configs = true
warn_redundant_casts = true
warn_return_any = false
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"traitlets.*",
"jupyter_core.*",
"ipykernel",
"entrypoints"
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "-raXs --durations 10 --color=yes --doctest-modules --ignore-glob=jupyter_core/tests/dotipython*"
testpaths = [
"jupyter_core/tests/"
]
filterwarnings= [
# Fail on warnings
"error",
]