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-bugbear rules (B) #3671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DimitriPapadopoulos
Copy link
Contributor

Summary

Apply flake8-bugbear (B) rules, except:

Copy link

codecov bot commented Sep 22, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 39.49%. Comparing base (4d1352a) to head (24fcea3).

Files with missing lines Patch % Lines
nipype/interfaces/utility/wrappers.py 0.00% 2 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (4d1352a) and HEAD (24fcea3). Click for more details.

HEAD has 65 uploads less than BASE
Flag BASE (4d1352a) HEAD (24fcea3)
69 4
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3671       +/-   ##
===========================================
- Coverage   70.83%   39.49%   -31.34%     
===========================================
  Files        1276     1276               
  Lines       59314    59314               
  Branches     9824     9824               
===========================================
- Hits        42013    23427    -18586     
- Misses      16125    35729    +19604     
+ Partials     1176      158     -1018     

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

@DimitriPapadopoulos DimitriPapadopoulos changed the title Apply ruff/flake8-bugbear rules (B) STY: Apply ruff/flake8-bugbear rules (B) Sep 22, 2024
B004 Using `hasattr(x, "__call__")` to test if x is callable is unreliable.
     Use `callable(x)` for consistent results.
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