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

Avoid compiler warnings related to not heeding errors #129

Closed
wants to merge 1 commit into from

Conversation

remkos
Copy link
Contributor

@remkos remkos commented Oct 18, 2018

This kills a number of compiler warnings. In response to issue #128.
(Note: my editor kills empty spaces at end of line, so hence additional chunks of changes).

Copy link
Member

@joa-quim joa-quim left a comment

Choose a reason for hiding this comment

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

I tried the dummy trick before but than I will get a new warning about a variable not being used. So basically that only changes the warning message.

And please, do not change the indentations that I careful have been doing. Above all, do not change spaces by tabs in those indentations. A criterious mix of tabs and spaces (tabs first till aligning with above line, followed by spaces) is needed so that different tab size (2 vs 4 vs 8) by different editors (or the same) always show up the correct indentation.

@remkos remkos closed this Nov 8, 2018
@remkos remkos deleted the remkos-fix-warnings branch November 8, 2018 13:43
obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
Add a sphinx extension `gmt.sphinxext.gmtplot` to the package.
It enables the `gmt-plot` directive that executes the given code,
captures the output of `gmt.Figure.show` and stdout, and 
inserts them into the rst document.

Includes a plot in the front page and a page documenting the
extension. It also serves as a test for the extension.

The code is not tested with pytest. This could possibly be done
using [sphinx-testing](https://github.com/sphinx-doc/sphinx-testing).

Fixes GenericMappingTools#129
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.

None yet

2 participants