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

Comment about keeping docstrings to 79 characters #10

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Conversation

leouieda
Copy link
Member

@leouieda leouieda commented Nov 7, 2019

Otherwise Jupyter/IPython won't render the docstrings nicely in tab completion.

Fixes #9 and fatiando/verde#177

@leouieda
Copy link
Member Author

leouieda commented Nov 7, 2019

@fatiando/contributors please keep this in mind going forward. We'd also welcome help reformatting the existing docstrings to fit within 79 characters (most projects will need this).

@leouieda leouieda merged commit 798e84b into master Nov 7, 2019
@leouieda leouieda deleted the docstrings branch November 7, 2019 10:01
leouieda added a commit to fatiando/pooch that referenced this pull request Nov 14, 2019
Docstrings with 88 characters (the Black line length) don't show up
nicely in Jupyter and IPython (since the display is 80 chars). This
means that our docstrings were unreadable.
See fatiando/verde#177 fatiando/community#9 fatiando/community#10
for context.
Make flake8 check that docstrings (and comments, sadly) are 79
characters so we can make sure we don't do it again accidentally.
Have to check comments as well because the flake8 flag doesn't
discriminate between them.
leouieda added a commit to fatiando/pooch that referenced this pull request Nov 14, 2019
Docstrings with 88 characters (the Black line length) don't show up
nicely in Jupyter and IPython (since the display is 80 chars). This
means that our docstrings were unreadable.
See fatiando/verde#177 fatiando/community#9 fatiando/community#10
for context.
Make flake8 check that docstrings (and comments, sadly) are 79
characters so we can make sure we don't do it again accidentally.
Have to check comments as well because the flake8 flag doesn't
discriminate between them.
leouieda added a commit to fatiando/pooch that referenced this pull request Nov 18, 2019
Docstrings with 88 characters (the Black line length) don't show up nicely in
Jupyter and IPython (since the display is 80 chars). This means that our
docstrings were unreadable. See fatiando/verde#177 fatiando/community#9
fatiando/community#10 for context. Make flake8 check that docstrings (and
comments, sadly) are 79 characters so we can make sure we don't do it again
accidentally. Have to check comments as well because the flake8 flag doesn't
discriminate between them.

Fixes #121
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.

Format docstrings with 80 chars
1 participant