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) #1352

Merged
merged 3 commits into from
Sep 22, 2024
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Sep 22, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.34%. Comparing base (d1930e9) to head (f064b62).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
nibabel/tests/conftest.py 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1352   +/-   ##
=======================================
  Coverage   95.34%   95.34%           
=======================================
  Files         207      207           
  Lines       29507    29507           
  Branches     4982     4982           
=======================================
  Hits        28134    28134           
  Misses        932      932           
  Partials      441      441           

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

B009 Do not call `getattr` with a constant attribute value.
     It is not any safer than normal property access.
B015 Pointless comparison. Did you mean to assign a value?
     Otherwise, prepend `assert` or remove it.
@effigies effigies merged commit bb6236f into nipy:master Sep 22, 2024
47 of 48 checks passed
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.

2 participants