2022-02-19 08:06:25 +00:00
|
|
|
[tool.mypy]
|
|
|
|
warn_unused_configs = true
|
2022-03-17 22:48:56 +00:00
|
|
|
python_version = "3.10"
|
2022-02-19 08:06:25 +00:00
|
|
|
mypy_path = "src/py"
|
2022-02-23 22:10:53 +00:00
|
|
|
check_untyped_defs = true
|
2022-02-19 08:06:25 +00:00
|
|
|
|
|
|
|
[[tool.mypy.overrides]]
|
|
|
|
module = [
|
|
|
|
"_pyodide_core",
|
|
|
|
"docutils.parsers.rst",
|
|
|
|
"js",
|
|
|
|
"pyodide_js",
|
|
|
|
"pytest",
|
|
|
|
"ruamel.yaml",
|
|
|
|
]
|
|
|
|
ignore_missing_imports = true
|
2022-02-20 22:13:37 +00:00
|
|
|
|
2022-02-23 22:10:53 +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",
|
|
|
|
]
|
2022-03-14 21:08:50 +00:00
|
|
|
known_third_party = [
|
|
|
|
"build",
|
|
|
|
]
|