Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cells magics + tidy-imports on notebook #308

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

divyansshhh
Copy link
Contributor

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

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
@divyansshhh divyansshhh requested a review from mlucool February 16, 2024 14:16
@codecov-commenter
Copy link

codecov-commenter commented Feb 16, 2024

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 ⚠️

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

Additional details and impacted files
@@            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     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@divyansshhh divyansshhh merged commit d56dde1 into master Feb 20, 2024
12 checks passed
@divyansshhh divyansshhh deleted the improve-tidy-imports branch February 20, 2024 09:59
dshivashankar1994 pushed a commit that referenced this pull request Feb 20, 2024
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

(cherry picked from commit d56dde1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants