deshaw / pyflyby

A set of productivity tools for Python
https://deshaw.github.io/pyflyby/
Other
347 stars 52 forks source link

Handle cells magics + tidy-imports on notebook #308

Closed divyansshhh closed 6 months ago

divyansshhh commented 7 months ago

This PR does the following -

  1. Ignore the cells which have magic commands
  2. Removing new-lines created by when imports are extracted
  3. Apply import formatting to the final extracted imports
codecov-commenter commented 7 months ago

Codecov Report

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

Comparison is base (c9c7c88) 68.13% compared to head (2976eb9) 68.09%.

Files Patch % Lines
lib/python/pyflyby/_comms.py 10.00% 9 Missing :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #308 +/- ## ========================================== - Coverage 68.13% 68.09% -0.04% ========================================== Files 25 25 Lines 7975 7978 +3 ========================================== - Hits 5434 5433 -1 - Misses 2541 2545 +4 ```

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