-
Notifications
You must be signed in to change notification settings - Fork 300
Graphics tests docs #2185
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
Merged
Merged
Graphics tests docs #2185
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,67 +16,83 @@ is merged. Before submitting a pull request please consider this list. | |
| The Iris Check List | ||
| ==================== | ||
|
|
||
| * Have you provided a helpful description of the Pull Request? What has | ||
| changed and why. This should include: | ||
|
|
||
| * the aim of the change - the problem addressed, a link to the issue; | ||
| * how the change has been delivered; | ||
| * a "What's New" entry, submitted as part of the pull request. See `Contributing a "What's New" entry`_. | ||
|
|
||
| * Do new files pass PEP8? | ||
|
|
||
| * PEP8_ is the Python source code style guide. | ||
| * There is a python module for checking pep8 compliance: python-pep8_ | ||
| * Have you provided a helpful description of the Pull Request? | ||
| I.E. what has changed and why. This should include: | ||
| * the aim of the change ; the problem addressed ; a link to the issue. | ||
| * how the change has been delivered. | ||
| * a "What's New" entry, submitted as a new file added in the pull request. | ||
| See `Contributing a "What's New" entry`_. | ||
|
|
||
| * Do all the tests pass locally? | ||
|
|
||
| * The Iris tests may be run with ``python setup.py test`` which has a command | ||
| line utility included. | ||
| * Coding standards, including PEP8_ compliance and copyright message (including | ||
| the correct year of the latest change), are tested. | ||
|
|
||
| * Has a new test been provided? | ||
|
|
||
| * Has iris-test-data been updated? | ||
|
|
||
| * iris-test-data_ is a github project containing all the data to support the | ||
| tests. | ||
| * If this has been updated a reference to the relevant pull request should be | ||
| provided. | ||
|
|
||
| * Has the the documentation been updated to explain the new feature or bug fix? | ||
|
|
||
| * with reference to the developer guide on docstrings_ | ||
| * Have new tests been provided for all additional functionality? | ||
|
|
||
| * Have code examples been provided inside the relevant docstrings? | ||
|
|
||
| * Has iris-sample-data been updated? | ||
|
|
||
| * iris-sample-data_ is a github project containing all the data to support | ||
| the gallery and examples. | ||
| * Do all modified and new sourcefiles pass PEP8? | ||
| * PEP8_ is the Python source code style guide. | ||
| * There is a python module for checking pep8 compliance: python-pep8_ | ||
| * a standard Iris test checks that all sourcefiles meet PEP8 compliance | ||
| (see "iris.tests.test_coding_standards.TestCodeFormat"). | ||
|
|
||
| * Do all modified and new sourcefiles have a correct, up-to-date copyright | ||
| header? | ||
| * a standard Iris test checks that all sourcefiles include a copyright | ||
| message, including the correct year of the latest change | ||
| (see "iris.tests.test_coding_standards.TestLicenseHeaders"). | ||
|
|
||
| * Has the documentation been updated to explain all new or changed features? | ||
| * refer to the developer guide on docstrings_ | ||
|
|
||
| * Have code examples been provided inside docstrings, where relevant? | ||
| * these are strongly recommended as concrete (working) examples always | ||
| considerably enhance the documentation. | ||
| * live test code can be included in docstrings. | ||
| * See for example :data:`iris.cube.Cube.data` | ||
| * Details at http://www.sphinx-doc.org/en/stable/ext/doctest.html | ||
| * The documentation tests may be run with ``make doctest``, from within the | ||
| ``./docs/iris`` subdirectory. | ||
|
|
||
| * Have you provided a 'whats new' contribution? | ||
| * this should be done for all changes that affect API or behaviour. | ||
| See :ref:`whats_new_contributions` | ||
|
|
||
| * Does the documentation build without errors? | ||
|
|
||
| * The documentation is built using ``make html`` in ``./docs/iris``. | ||
|
|
||
| * Do the documentation tests pass? | ||
|
|
||
| * ``make doctest``, ``make extest`` in ``./docs/iris``. | ||
|
|
||
| * Does this update introduce/change any dependencies? If so: | ||
|
|
||
| * Has the travis file been updated to reflect these changes? | ||
|
|
||
| * ``./.travis.yml`` is used to manage the continuous integration testing. | ||
|
|
||
| * Has ``conda-requirements.txt`` been updated to reflect these changes? | ||
| * Has the ``INSTALL`` file been updated to reflect these changes? | ||
| * Do the documentation and code-example tests pass? | ||
| * Run with ``make doctest`` and ``make extest``, from within the subdirectory | ||
| ``./docs/iris``. | ||
| * note that code examples must *not* raise deprecations. This is now checked | ||
| and will result in an error. | ||
| When an existing code example encounters a deprecation, it must be fixed. | ||
|
|
||
| * Has the travis file been updated to reflect any dependency updates? | ||
| * ``./.travis.yml`` is used to manage the continuous integration testing. | ||
| * the files ``./conda-requirements.yml`` and | ||
| ``./minimal-conda-requirements.yml`` are used to define the software | ||
| environments used, using the conda_ package manager. | ||
|
|
||
| * Have you provided updates to supporting projects for test or example data? | ||
| * the following separate repos are used to manage larger files used by tests | ||
| and code examples : | ||
| * iris-test-data_ is a github project containing all the data to support the | ||
| tests. | ||
| * iris-sample-data_ is a github project containing all the data to support | ||
| the gallery and examples. | ||
| * test-images-scitools_ is a github project containing reference plot images | ||
| to support iris graphics tests : see :ref:`test graphics images`. | ||
| * If new files are required by tests or code examples, they must be added to | ||
| the appropriate supporting project via a suitable pull-request. | ||
| This new 'supporting pull request' should be referenced in the main Iris | ||
| pull request, and must be accepted and merged before the Iris one can be. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I really like your additions to this document. Very clear and instructive. |
||
|
|
||
|
|
||
| .. _PEP8: http://www.python.org/dev/peps/pep-0008/ | ||
| .. _python-pep8: https://pypi.python.org/pypi/pep8 | ||
| .. _conda: http://conda.readthedocs.io/en/latest/ | ||
| .. _iris-test-data: https://github.com/SciTools/iris-test-data | ||
| .. _iris-sample-data: https://github.com/SciTools/iris-sample-data | ||
| .. _test-images-scitools https://github.com/SciTools/test-images-scitools | ||
| .. _docstrings: http://scitools.org.uk/iris/docs/latest/developers_guide/documenting/docstrings.html | ||
| .. _Contributing a "What's New" entry: http://scitools.org.uk/iris/docs/latest/developers_guide/documenting/whats_new_contributions.html | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
At some point in this document I think that the word 'dependencies' should be expanded or explained. Maybe just replaced with 'dependent libraries'. Although it is obvious to us what it means, it may not be as clear to a developer looking at this document without the context that we now have.