Skip to content

STY: Apply ruff/flake8-bugbear rules (B) - #1352

Merged
effigies merged 3 commits into
nipy:masterfrom
DimitriPapadopoulos:B
Sep 22, 2024
Merged

effigies merged 3 commits into
nipy:masterfrom
DimitriPapadopoulos:B

Conversation

@DimitriPapadopoulos

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 22, 2024 •

Copy link
Copy Markdown

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.
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