mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
This ports `CSTNode.validate_types_shallow` and `CSTNode.validate_types_deep`, as well as `libcst._type_enforce` to the open-source release. These are useful if someone wants to use LibCST without a static type checker. These weren't originally included because `libcst._type_enforce` wasn't 3.7 compatible. |
||
|---|---|---|
| .. | ||
| metadata | ||
| nodes | ||
| parser | ||
| testing | ||
| tests | ||
| __init__.py | ||
| _add_slots.py | ||
| _base_visitor.py | ||
| _maybe_sentinel.py | ||
| _removal_sentinel.py | ||
| _tabs.py | ||
| _type_enforce.py | ||
| exceptions.py | ||
| helpers.py | ||
| tool.py | ||