Skip to content

Fix PEP 8 issues in test_phase_cross_correlation.py - #7142

Merged
lagru merged 2 commits into
scikit-image:mainfrom
mkcor:fix-pep-8
Sep 20, 2023
Merged

lagru merged 2 commits into
scikit-image:mainfrom
mkcor:fix-pep-8

Conversation

@mkcor

@mkcor mkcor commented Sep 20, 2023

Copy link
Copy Markdown
Member

Description

This is a follow-up on #7112. I just addressed #7112 (comment), @decorouz @lagru.

Checklist

Release note

Summarize the introduced changes in the code block below in one or a few sentences. The
summary will be included in the next release notes automatically:

Fix PEP 8 issues.

@pep8speaks

pep8speaks commented Sep 20, 2023 •

Copy link
Copy Markdown

Hello @mkcor! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2023-09-20 12:26:41 UTC

@mkcor mkcor added the 📄 type: Documentation Updates, fixes and additions to documentation label Sep 20, 2023
@mkcor

mkcor commented Sep 20, 2023

Copy link
Copy Markdown
Member Author

Maybe I didn't need to add 255501b -- iirc @jni once said this kind of indentation was actually PEP 8-compliant, but automated pep8 checks were too strict sometimes.

@lagru lagru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks. Totally missed that PEP8 comment.

@lagru lagru changed the title Fix PEP 8 issues. Fix PEP 8 issues in test_phase_cross_correlation.py Sep 20, 2023
@lagru lagru added 🔧 type: Maintenance Refactoring and maintenance of internals and removed 📄 type: Documentation Updates, fixes and additions to documentation labels Sep 20, 2023
@lagru
lagru merged commit 3c2111f into scikit-image:main Sep 20, 2023
@stefanv stefanv added this to the 0.22 milestone Sep 20, 2023
@lagru

lagru commented Sep 20, 2023

Copy link
Copy Markdown
Member

I went ahead and merged this trivial PR. I also updated the title and labels as not to create noise in our release notes. IMO this is not something that should show up in the "Documentation" section.

@mkcor
mkcor deleted the fix-pep-8 branch September 20, 2023 13:50
@mkcor

mkcor commented Sep 20, 2023

Copy link
Copy Markdown
Member Author

I went ahead and merged this trivial PR. I also updated the title and labels as not to create noise in our release notes. IMO this is not something that should show up in the "Documentation" section.

Thanks for taking care of this! The "Documentation" label didn't satisfy me, indeed, but I wasn't sure which one I should pick... Which one would you suggest for next time? Should we create a "Style" label? 😉

@lagru

lagru commented Sep 20, 2023 •

Copy link
Copy Markdown
Member

My intuition is to just use "type: maintenance" which puts it in the similar named section. I think of "maintenance" as anything that

  • touches our code base or documentation (in contrast to tooling or infrastructure)
  • goes on behind the scenes and doesn't affect the user or our API directly.

Might be good to update our core dev guide to help with intuition and usage around these labels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔧 type: Maintenance Refactoring and maintenance of internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants