LibCST/libcst
Benjamin Woodruff 8fba418f2c Add runtime type validation support
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.
2019-07-22 19:53:49 -07:00
..
metadata Define metadata base class and provider 2019-07-22 19:53:49 -07:00
nodes Add runtime type validation support 2019-07-22 19:53:49 -07:00
parser Make ParserSyntaxError picklable 2019-07-22 19:53:49 -07:00
testing Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
tests Add runtime type validation support 2019-07-22 19:53:49 -07:00
__init__.py pyre-strict libcst/__init__.py and libcst/tool.py 2019-07-22 19:53:49 -07:00
_add_slots.py Fix issue with @add_slots and py3.7 2019-06-03 15:43:28 -07:00
_base_visitor.py Define metadata base class and provider 2019-07-22 19:53:49 -07:00
_maybe_sentinel.py Better serialization for MaybeSentinel 2019-06-03 15:43:55 -07:00
_removal_sentinel.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_tabs.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
_type_enforce.py Add runtime type validation support 2019-07-22 19:53:49 -07:00
exceptions.py Make ParserSyntaxError picklable 2019-07-22 19:53:49 -07:00
helpers.py Initial export of LibCST to github. 2019-05-31 14:16:53 -07:00
tool.py pyre-strict libcst/__init__.py and libcst/tool.py 2019-07-22 19:53:49 -07:00