You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fatiando/verde#177 raised by @prisae, fatiando/community#9 and fatiando/community#10 it has been decided that all docstrings must be wrapped to 79 characters per line.
We should warp all the existing docstrings in Pooch to 79 characters and also configure flake8 to check for this when running the style checks.
Sadly, there's no way (yet) to automatically change all docstrings, but at least we can use flake8 to raise lines that fail. This can be done by setting max-doc-length to 79 characters on the flake8 configuration under setup.cfg.
The text was updated successfully, but these errors were encountered:
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#177fatiando/community#9fatiando/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
Description of the desired feature
After fatiando/verde#177 raised by @prisae, fatiando/community#9 and fatiando/community#10 it has been decided that all docstrings must be wrapped to 79 characters per line.
We should warp all the existing docstrings in Pooch to 79 characters and also configure flake8 to check for this when running the style checks.
Sadly, there's no way (yet) to automatically change all docstrings, but at least we can use flake8 to raise lines that fail. This can be done by setting
max-doc-length
to 79 characters on the flake8 configuration undersetup.cfg
.The text was updated successfully, but these errors were encountered: