代码拉取完成,页面将自动刷新
[mypy]
python_version = 3.9
cache_dir = .mypy_cache
incremental = true
files = lib/streamlit/, lib/tests/streamlit/typing/, scripts/, e2e_playwright/
exclude = (?x)(
# The compilation error test file cannot breaks mypy
# because it the syntax error.
^e2e_playwright/compilation_error_dialog\.py$
)
# strict mode settings:
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
check_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
extra_checks = true
# other settings:
allow_redefinition = false
no_implicit_optional = true
strict_optional = true
warn_unreachable = true
warn_no_return = true
scripts_are_modules = true
namespace_packages = true
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true
[mypy-e2e_playwright.*]
# We don't want to enforce return types for test functions
disallow_incomplete_defs = false
disallow_untyped_calls = false
disallow_untyped_defs = false
[mypy-tests.*]
# Ignore all error in unit tests
ignore_errors = true
[mypy-tests.streamlit.typing.*]
# Explicitly enable type checking for the typing tests
ignore_errors = false
[mypy-shared.*]
ignore_missing_imports = true
# We need to set ignore_missing_imports to true for all optional dependencies,
[mypy-vega_datasets.*]
ignore_missing_imports = true
[mypy-sympy.*]
ignore_missing_imports = true
[mypy-plotly.*]
ignore_missing_imports = true
[mypy-pandas.*]
ignore_missing_imports = true
[mypy-pydeck.*]
ignore_missing_imports = true
[mypy-pyarrow.*]
ignore_missing_imports = true
[mypy-bokeh.*]
ignore_missing_imports = true
[mypy-graphviz.*]
ignore_missing_imports = true
[mypy-authlib.*]
ignore_missing_imports = true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。