forked from bokeh/bokeh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (78 loc) · 1.93 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
[tool.mypy]
python_version = "3.8"
mypy_path = "typings/"
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
namespace_packages = true
ignore_missing_imports = false
disallow_any_unimported = true
disallow_any_expr = false
disallow_any_decorated = false
disallow_any_explicit = false
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
strict_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_return_any = false
warn_unreachable = true
show_none_errors = true
ignore_errors = false
allow_untyped_globals = false
allow_redefinition = false
implicit_reexport = true
strict_equality = true
warn_unused_configs = true
# For now enable each typed module individually.
[[tool.mypy.overrides]]
module = [
"bokeh.*",
"tests.*",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"bokeh._testing",
"bokeh.client.states",
"bokeh.colors",
"bokeh.command",
"bokeh.core.query",
"bokeh.core.types",
"bokeh.core.validation",
"bokeh.document.callbacks",
"bokeh.document.json",
"bokeh.document.locking",
"bokeh.document.models",
"bokeh.document.modules",
"bokeh.document.util",
"bokeh.driving",
"bokeh.embed.standalone",
"bokeh.embed.wrappers",
"bokeh.ext",
"bokeh.io",
"bokeh.palettes",
"bokeh.plotting._tools",
"bokeh.protocol",
"bokeh.sampledata",
"bokeh.server.callbacks",
"bokeh.server.server",
"bokeh.server.urls",
"bokeh.server.util",
"bokeh.util",
"tests.codebase",
"tests.test_bokehjs",
"tests.test_examples",
"tests.codebase",
"tests.unit.bokeh.document.test_callbacks__document",
"tests.unit.bokeh.embed.test_standalone",
]
ignore_errors = false