LibCST
LibCST copied to clipboard
A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
Bumps [pyre-check](https://github.com/facebook/pyre-check) from 0.9.18 to 0.9.22. Commits 9cfba57 sanitize type annotation in error message ed8cb98 Rename ParameterVariadicTypeVariable to FromParamSpec 786d9c1 Rename ParameterVariadicComponent to ParamSpecComponent eb5845a Rename Callable.Parameter to CallableParamType 9207b32...
Bumps [memchr](https://github.com/BurntSushi/memchr) from 2.5.0 to 2.7.4. Commits 8ad3395 2.7.4 b0af902 perf: revert fallback optimization aee9f95 arch: add a second big endian regression test 92edbb6 arch: add big endian regression test...
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.18.1 to 2.19.1. Release notes Sourced from pypa/cibuildwheel's releases. Version 2.19.1 🐛 Don't require setup-python on GHA for Pyodide (#1868) 🐛 Specify full python path for uv...
Bumps [ufmt](https://github.com/omnilib/ufmt) from 2.6.0 to 2.7.0. Changelog Sourced from ufmt's changelog. v2.7.0 Feature release Experimental support for running a generic LSP (#217) $ git shortlog -s v2.6.0...v2.7.0 2 Amethyst Reese...
Bumps [flake8](https://github.com/pycqa/flake8) from 7.0.0 to 7.1.0. Commits 65a38c4 Release 7.1.0 34c97e0 Merge pull request #1939 from PyCQA/new-pycodestyle defd315 latest pycodestyle 408d4d6 Merge pull request #1930 from mzagol/patch-1 866ad72 Add --extend-exclude...
Consider this example: ```py class X: x: int ``` used to patch: ```py class X: x: str ``` `ApplyTypeAnnotationsVisitor` will *not* change the type annotation on `X.x` to `int` even...
With the following transformer, and libcst `1.4.0`: ```python example = """\ foo( arg1=None, ) """ import libcst as cst class DropArg(cst.CSTTransformer): def leave_Arg(self, node: cst.Arg, update_node: cst.Arg): return cst.RemoveFromParent() result...
Makes it easier to check if a specific position is in the tested range.
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.11.0 to 0.13.0. Changelog Sourced from itertools's changelog. 0.13.0 Breaking Removed implementation of DoubleEndedIterator for ConsTuples (#853) Made MultiProduct fused and fixed on an empty iterator (#835,...
On the current main branch in a 3.13.0b1 venv with libcst and test dependencies installed, there's a segmentation fault happening in `test_funcdef.py` Details ``` $ python -m pytest platform linux...