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

Replace custom _add_slots decorator with dataclasses slots=True #1113

Open zsol opened 9 months ago

zsol commented 9 months ago

Replace custom _add_slots decorator with dataclasses slots=True

Dataclasses has a built-in slots generation feature since Python 3.10.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.04%. Comparing base (8a19d05) to head (2feb8ea). Report is 2 commits behind head on main.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1113 +/- ## ========================================== - Coverage 91.12% 91.04% -0.09% ========================================== Files 256 254 -2 Lines 26578 26313 -265 ========================================== - Hits 24220 23956 -264 + Misses 2358 2357 -1 ```

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