Instagram / LibCST

A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
https://libcst.readthedocs.io/
Other
1.57k stars 192 forks source link

Remove reference to distutils #1099

Closed zsol closed 10 months ago

zsol commented 10 months ago

Remove reference to distutils

Distutils has been removed in Python 3.12.

Tested by:

py -m libcst.tool codemod noop.NOOPCommand .\libcst\tool.py
Calculating full-repo metadata...
Executing codemod...
Finished codemodding 1 files!
 - Transformed 1 files successfully.
 - Skipped 0 files.
 - Failed to codemod 0 files.
 - 0 warnings were generated.

Stack created with Sapling. Best reviewed with ReviewStack.

codecov-commenter commented 10 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a2a60c1) 91.09% compared to head (b6f6ac8) 91.09%.

Files Patch % Lines
libcst/tool.py 50.00% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1099 +/- ## ======================================= Coverage 91.09% 91.09% ======================================= Files 255 255 Lines 26561 26561 ======================================= Hits 24195 24195 Misses 2366 2366 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.