Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/python/mypy
/ is_toml
Function
is_toml
mypy/config_parser.py:396–397 ·
view source on GitHub ↗
(filename: str)
Source
from the content-addressed store, hash-verified
394
395
396
def
is_toml(filename: str) -> bool:
397
return
filename.lower().endswith(
".toml"
)
398
399
400
def
destructure_overrides(toml_data: dict[str, Any]) -> dict[str, Any]:
Callers
3
_parse_individual_file
Function · 0.85
get_prefix
Function · 0.85
get_config_module_names
Function · 0.85
Calls
2
lower
Method · 0.80
endswith
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…