-
Notifications
You must be signed in to change notification settings - Fork 229
Add docstrings and tests to gmtinfo #144
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
Conversation
gmt/tests/test_info.py
Outdated
def test_info(): | ||
"Make sure info works" | ||
output = info(fname=data_fname) | ||
assert output == '{}: N = 20 <11.5309/61.7074> <-2.9289/7.8648> <0.1412/0.9338>\n'.format(data_fname) |
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.
E501 line too long (105 > 79 characters)
gmt/tests/test_info.py
Outdated
def test_info(): | ||
"Make sure info works" | ||
output = info(fname=data_fname) | ||
assert output == '''{}: N = 20 <11.5309/61.7074> <-2.9289/7.8648> <0.1412/0.9338>\n'''.format(data_fname) |
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.
E501 line too long (109 > 79 characters)
gmt/tests/test_info.py
Outdated
"Make sure info works" | ||
output = info(fname=POINTS_DATA) | ||
assert output == '{}: N = 20 <11.5309/61.7074> <-2.9289/7.8648> ' | ||
'<0.1412/0.9338>\n'.format(POINTS_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.
E999 IndentationError: unexpected indent
E113 unexpected indentation
gmt/tests/test_info.py
Outdated
def test_info(): | ||
"Make sure info works" | ||
output = info(fname=POINTS_DATA) | ||
assert output == '{}: N = 20 <11.5309/61.7074> <-2.9289/7.8648> <0.1412/0.9338>\n'.format(POINTS_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.
E501 line too long (106 > 79 characters)
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.
@leouieda Any suggestions to fix this lint issue? I've tried but failed.
Thanks @seisman! |
Fixes #140.