mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
* Fix type of evaluated_value on string
This can return bytes if the string is a bytestring, e.g.:
In [1]: import libcst as cst
In [2]: cst.parse_expression('b"foo"').evaluated_value
Out[2]: b'foo'
* Fix type errors from changed signature
|
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| add_pyre_directive.py | ||
| add_trailing_commas.py | ||
| convert_format_to_fstring.py | ||
| convert_namedtuple_to_dataclass.py | ||
| convert_percent_format_to_fstring.py | ||
| convert_type_comments.py | ||
| ensure_import_present.py | ||
| fix_pyre_directives.py | ||
| noop.py | ||
| remove_pyre_directive.py | ||
| remove_unused_imports.py | ||
| rename.py | ||
| strip_strings_from_types.py | ||
| unnecessary_format_string.py | ||