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

STY: Apply ruff/flake8-simplify rules (SIM) #913

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

SIM110 Use `return any(...)` instead of `for` loop
SIM118 Use `key in dict` instead of `key in dict.keys()`
SIM211 Use `not ...` instead of `False if ... else True`
SIM401 Use `.get(..., ...)` instead of an `if` block
Copy link

codecov bot commented Dec 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.33%. Comparing base (d6d726e) to head (cb5e270).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #913      +/-   ##
==========================================
- Coverage   69.35%   69.33%   -0.03%     
==========================================
  Files          86       86              
  Lines        8472     8466       -6     
  Branches     1058     1056       -2     
==========================================
- Hits         5876     5870       -6     
  Misses       2373     2373              
  Partials      223      223              

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

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