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

STYLE: Fix unused loop control variable warning #3228

Merged
merged 1 commit into from
May 20, 2024

Conversation

jhlegarreta
Copy link
Contributor

@jhlegarreta jhlegarreta commented May 18, 2024

Fix unused loop control variable warning: show how to specify multiple output filenames for a combined workflow, and provide them to the corresponding sub-workflows.

Fixes:

doc/examples/combined_workflow_creation.py:68:22:
 B007 Loop control variable `out_file` not used within loop body

raised for example in:
https://github.com/dipy/dipy/actions/runs/9131684633/job/25111443178#step:4:116

Fix unused loop control variable warning: show how to specify multiple
output filenames for a combined workflow, and provide them to the
corresponding sub-workflows.

Fixes:
```
doc/examples/combined_workflow_creation.py:68:22:
 B007 Loop control variable `out_file` not used within loop body
```

raised for example in:
https://github.com/dipy/dipy/actions/runs/9131684633/job/25111443178#step:4:116
@jhlegarreta jhlegarreta force-pushed the FixCombinedWorkflowExampleWarning branch from b0cb12c to 05de2b6 Compare May 18, 2024 16:03
@jhlegarreta jhlegarreta changed the title STYLE: Fix loop control unused variable warning STYLE: Fix unused loop control variable warning May 18, 2024
Copy link

codecov bot commented May 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.69%. Comparing base (37995db) to head (05de2b6).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3228   +/-   ##
=======================================
  Coverage   83.69%   83.69%           
=======================================
  Files         153      153           
  Lines       21375    21375           
  Branches     3458     3458           
=======================================
  Hits        17890    17890           
  Misses       2624     2624           
  Partials      861      861           

@jhlegarreta
Copy link
Contributor Author

Failures are unrelated.

@jhlegarreta
Copy link
Contributor Author

@skoudoro once this gets merged, the code format CI should become green on master.

@skoudoro
Copy link
Member

@skoudoro once this gets merged, the code format CI should become green on master.

Yes, I know, but I think I saw something strange, I need a moment during the day to test it and generate the doc to be sure all is ok

Copy link
Member

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jhlegarreta, merging

@skoudoro skoudoro merged commit 19ae6a6 into dipy:master May 20, 2024
29 of 31 checks passed
@jhlegarreta jhlegarreta deleted the FixCombinedWorkflowExampleWarning branch May 20, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants