-
Notifications
You must be signed in to change notification settings - Fork 702
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
use pycodestyle for code style check + stop using l
in list comprehensions
#21502
Conversation
framework uses pycodestyle if available and pep8 only as a fallback and later likely not at all (pep8 was renamed to pycodestyle and the existing package is no longer updated) So we need to check for either both or (more future proof) only for pycodestyle.
pep8 has bugs which makes it miss many issues like long-lines in docstrings. This might make the tests fail if both packages are available as framework prefers the newer pycodestyle.
…riable name reported by pycodestyle
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
description = """FreeSurfer is a set of tools for analysis and visualization | ||
of structural and functional brain imaging data. FreeSurfer contains a fully | ||
automatic structural imaging stream for processing cross sectional and | ||
longitudinal data.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this changes the module help text. I used the following for IMO more sensible line breaks in #21405
description = """\
FreeSurfer is a set of tools for analysis and visualization of structural and functional brain imaging data.
FreeSurfer contains a fully automatic structural imaging stream for processing cross sectional and longitudinal data.
"""
If that sounds useful I can do the Search&replace using the texts I previously used.
No description provided.