pyodide/pyproject.toml

59 lines
1.1 KiB
TOML
Raw Normal View History

2022-02-19 08:06:25 +00:00
[tool.mypy]
2022-03-17 22:48:56 +00:00
python_version = "3.10"
2022-04-01 19:58:54 +00:00
mypy_path = ["src/py", "pyodide-build"]
show_error_codes = true
warn_unreachable = true
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
# Strict checks
warn_unused_configs = true
check_untyped_defs = true
2022-04-01 19:58:54 +00:00
disallow_any_generics = false
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_defs = false
disallow_incomplete_defs = false
disallow_untyped_decorators = false
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = false
no_implicit_reexport = false
strict_equality = false
2022-02-19 08:06:25 +00:00
[[tool.mypy.overrides]]
module = [
"_pyodide_core",
"docutils.parsers.rst",
"js",
"pyodide_js",
"ruamel.yaml",
2022-04-01 19:58:54 +00:00
"matplotlib.*",
"PIL.*",
2022-02-19 08:06:25 +00:00
]
ignore_missing_imports = true
2022-02-20 22:13:37 +00:00
[[tool.mypy.overrides]]
module = [
"micropip.externals.*",
]
check_untyped_defs = false
2022-02-20 22:13:37 +00:00
[tool.pycln]
all = true
2022-02-21 22:27:03 +00:00
[tool.isort]
profile = "black"
known_first_party = [
"pyodide",
"pyodide_js",
"micropip",
"pyodide_build",
"_pyodide",
]
known_third_party = [
"build",
]
[tool.pyodide]