LibCST/libcst/codemod
Sigurd Ljødal a594fe1dd2
Fix type of evaluated_value on string to allow bytes (#721)
* 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
2023-05-26 13:43:05 +01:00
..
commands Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
tests Allow running codemods without configuring in YAML (#879) 2023-03-27 10:59:48 +01:00
visitors Fix type of evaluated_value on string to allow bytes (#721) 2023-05-26 13:43:05 +01:00
__init__.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_cli.py Several trivial refactors (#770) 2022-09-14 14:33:45 +01:00
_codemod.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_command.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_context.py Support module and package names in the codemod context (#662) 2022-03-23 14:17:25 -04:00
_dummy_pool.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_runner.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00
_testing.py Fix all type errors (#579) 2022-01-05 18:13:01 +00:00
_visitor.py Fix license headers (#560) 2021-12-28 11:55:18 +00:00