6 Star 14 Fork 11

Gitee 极速下载/streamlit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/streamlit/streamlit
克隆/下载
mypy.ini 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
Lukas Masuch 提交于 2025-05-28 04:15 +08:00 . Activate type checking for authlib (#11458)
[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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mirrors/streamlit.git
git@gitee.com:mirrors/streamlit.git
mirrors
streamlit
streamlit
develop

搜索帮助