8000 Merge remote-tracking branch 'origin/v3.1.1-doc' into v3.1.x · matplotlib/matplotlib@6665d1f · GitHub
[go: up one dir, main page]

Skip to content

Commit 6665d1f

Browse files
committed
Merge remote-tracking branch 'origin/v3.1.1-doc' into v3.1.x
2 parents 58b8472 + 3b829f7 commit 6665d1f

File tree

4 files changed

+17
-27
lines changed

4 files changed

+17
-27
lines changed

doc/_templates/layout.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,6 @@ <h3>{{ _('Navigation') }}</h3>
184184
</a>
185185
</div>
186186
{%- endif %}
187-
<div id="plotting-contest" style="padding: 6px; background-color: teal; color: white;">
188-
<p style="margin: 0;">The 2019 SciPy John Hunter Excellence in Plotting Contest is accepting submissions!
189-
<br />
190-
<a href="https://docs.google.com/forms/d/e/1FAIpQLSe-_AnKvYSzeQWfNDRoXgW0vl7_8q6jj3QbLIac8eUcb9lSAA/viewform?usp=sf_link" style="font-weight: bold;">Apply by June 8th</a></p>
191-
</div>
192187

193188
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px; position: relative;">
194189
{%- if builder in ('htmlhelp', 'devhelp', 'latex') %}

doc/citing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ pp. 90-95, 2007 <https://doi.org/10.1109/MCSE.2007.55>`_.
2727
2828
DOIs
2929
----
30+
v3.1.1
31+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3264781.svg
32+
:target: https://doi.org/10.5281/zenodo.3264781
3033
v3.1.0
3134
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.2893252.svg
3235
:target: https://doi.org/10.5281/zenodo.2893252

doc/devel/testing.rst

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ infrastructure are in :mod:`matplotlib.testing`.
1212
.. _Ghostscript: https://www.ghostscript.com/
1313
.. _Inkscape: https://inkscape.org
1414
.. _pytest-cov: https://pytest-cov.readthedocs.io/en/latest/
15-
.. _pytest-pep8: https://pypi.python.org/pypi/pytest-pep8
16-
.. _pytest-xdist: https://pypi.python.org/pypi/pytest-xdist
17-
.. _pytest-timeout: https://pypi.python.org/pypi/pytest-timeout
15+
.. _pytest-flake8: https://pypi.org/project/pytest-flake8/
16+
.. _pytest-xdist: https://pypi.org/project/pytest-xdist/
17+
.. _pytest-timeout: https://pypi.org/project/pytest-timeout/
18+
.. _flake8: https://pypi.org/project/flake8/
1819

1920
Requirements
2021
------------
@@ -32,7 +33,7 @@ The following software is required to run the tests:
3233
Optionally you can install:
3334

3435
- pytest-cov_ (>=2.3.1) to collect coverage information
35-
- pytest-pep8_ to test coding standards
36+
- pytest-flake8_ to test coding standards using flake8_
3637
- pytest-timeout_ to limit runtime in case of stuck tests
3738
- pytest-xdist_ to run tests in parallel
3839

@@ -44,29 +45,20 @@ Running the tests is simple. Make sure you have pytest installed and run::
4445

4546
pytest
4647

47-
or::
48+
in the root directory of the repository.
4849

49-
pytest .
50-
51 10000 -
52-
in the root directory of the distribution. The script takes a set of
53-
commands, such as:
54-
55-
======================== ===========
56-
``--pep8`` Perform pep8 checks (requires pytest-pep8_)
57-
``-m "not network"`` Disable tests that require network access
58-
======================== ===========
59-
60-
Additional arguments are passed on to pytest. See the pytest documentation for
61-
`supported arguments`_. Some of the more important ones are given here:
50+
`pytest` can be configured via a lot of `commandline parameters`_. Some
51+
particularly useful ones are:
6252

6353
============================= ===========
64-
``--verbose`` Be more verbose
65-
``--n NUM`` Run tests in parallel over NUM
54+
``-v`` or ``--verbose`` Be more verbose
55+
``-n NUM`` Run tests in parallel over NUM
6656
processes (requires pytest-xdist_)
6757
``--timeout=SECONDS`` Set timeout for results from each test
6858
process (requires pytest-timeout_)
6959
``--capture=no`` or ``-s`` Do not capture stdout
60+
``--flake8`` Check coding standards using flake8_
61+
(requires pytest-flake8_)
7062
============================= ===========
7163

7264
To run a single test from the command line, you can provide a file path,
@@ -98,7 +90,7 @@ function :func:`matplotlib.test`::
9890
matplotlib.test()
9991

10092

101-
.. _supported arguments: http://doc.pytest.org/en/latest/usage.html
93+
.. _commandline parameters: http://doc.pytest.org/en/latest/usage.html
10294

10395

10496
Writing a simple test

doc/thirdpartypackages/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class that can have a visual break to indicate a discontinuous range.
100100
DeCiDa
101101
======
102102

103-
`DeCiDa <https://pypi.python.org/pypi/DeCiDa>`_ is a library of functions
103+
`DeCiDa <https://pypi.org/project/DeCiDa/>`_ is a library of functions
104104
and classes for electron device characterization, electronic circuit design and
105105
general data visualization and analysis.
106106

0 commit comments

Comments
 (0)
0