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

Fix E721 type comparison pattern handling #776

Merged
merged 4 commits into from
Jan 13, 2025
Merged

Conversation

hhatto
Copy link
Owner

@hhatto hhatto commented Jan 13, 2025

  • Added support for new type comparison patterns
  • Added indent preservation functionality
  • Added test cases for E721

ref: #762

@hhatto hhatto self-assigned this Jan 13, 2025
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.97%. Comparing base (5b9a953) to head (3b9d399).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #776   +/-   ##
=======================================
  Coverage   97.96%   97.97%           
=======================================
  Files           1        1           
  Lines        2463     2473   +10     
=======================================
+ Hits         2413     2423   +10     
  Misses         50       50           
Flag Coverage Δ
3.11 97.53% <100.00%> (+0.01%) ⬆️
3.12 97.81% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@hhatto hhatto changed the title care indent in case e721 Fix E721 type comparison pattern handling Jan 13, 2025
@hhatto hhatto marked this pull request as ready for review January 13, 2025 15:05
@hhatto hhatto merged commit 815b102 into main Jan 13, 2025
10 checks passed
@hhatto hhatto deleted the fix/e721-with-indent branch January 13, 2025 15:07
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.

1 participant