LibCST icon indicating copy to clipboard operation
LibCST copied to clipboard

A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree

Results 171 LibCST issues
Sort by recently updated
recently updated
newest added

Noticed this when trying to build vscode-ufmt and include libcst wheels: PyPI has a `cp37m-macosx_10_9_x86_64` wheel, but no matching `cp37m-macosx_11_0_arm64` wheel. Both wheels are available on all other runtimes. ```...

I am building the arch package for libcst and am stuck with this failing codegen. I am using the github tarball. ``` Failed to generated a new /build/python-libcst/src/LibCST-0.4.6/libcst/_typed_visitor.py file, failure...

Bumps [ts-graphviz/setup-graphviz](https://github.com/ts-graphviz/setup-graphviz) from 1 to 2. Release notes Sourced from ts-graphviz/setup-graphviz's releases. v2.0.0🌈 Full Changelog: https://github.com/ts-graphviz/setup-graphviz/compare/v1.2.0...v2.0.0 Breaking Changes The Codecov Action runs as a node20 action due to node16 deprecation....

CLA Signed
dependencies
github_actions

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. Release notes Sourced from codecov/codecov-action's releases. v4.0.0 v4 of the Codecov Action uses the CLI as the underlying upload. The CLI has helped to...

CLA Signed
dependencies
github_actions

Bumps [black](https://github.com/psf/black) from 23.12.1 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...

CLA Signed
dependencies
python

I have to transform (using a libcst.CSTTransformer) some 3rd party code, which might contain statements like `assert("foo") == "foo"`. Although this is a valid python code, I get the error...

bug
parsing

Updates the requirements on [maturin](https://github.com/pyo3/maturin) to permit the latest version. Release notes Sourced from maturin's releases. v1.5.0 What's Changed tutorial: fix abi to match comment by @​skshetry in PyO3/maturin#1876 Allow...

CLA Signed
dependencies
python

I'm attempting to visit the name nodes inside the import nodes using `MatcherDecoratableTransformer`. For each of node I'm visiting, I'd like to check against a list of items to skip...

Replace custom _add_slots decorator with dataclasses slots=True Dataclasses has a built-in slots generation feature since Python 3.10.

CLA Signed

I suspect this is an upstream issue, but documenting the repro so we can know if it gets fixed: ``` """docstring""" import a import b def foo(data: str) -> tuple[str,...

enhancement
parsing