8000 STY: Apply trailing-whitespace pre-commit hook · stevezhang1999/matplotlib@213061c · GitHub
[go: up one dir, main page]

Skip to content

Commit 213061c

Browse files
STY: Apply trailing-whitespace pre-commit hook
1 parent c1a33a4 commit 213061c

File tree

26 files changed

+68
-70
lines changed

26 files changed

+68
-70
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ body:
66
id: summary
77
attributes:
88
label: Bug summary
9-
description: Describe the bug in 1-2 short sentences
10-
placeholder:
9+
description: Describe the bug in 1-2 short sentences
10+
placeholder:
1111
value:
1212
validations:
1313
required: true
1414
- type: textarea
1515
id: reproduction
1616
attributes:
1717
label: Code for reproduction
18-
description: If possible, please provide a minimum self-contained example.
18+
description: If possible, please provide a minimum self-contained example.
1919
placeholder: Paste your code here
2020
render: python
2121
validations:
@@ -59,7 +59,7 @@ body:
5959
required: true
6060
- type: input
6161
id: matplotlib-backend
62-
attributes:
62+
attributes:
6363
label: Matplotlib Backend
6464
description: "From Python prompt: `import matplotlib; print(matplotlib.get_backend())`"
6565
- type: input

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ body:
1515
id: problem
1616
attributes:
1717
label: Problem
18-
description: What is missing, unclear, or wrong in the documentation?
18+
description: What is missing, unclear, or wrong in the documentation?
1919
placeholder: |
2020
* I found [...] to be unclear because [...]
2121
* [...] made me think that [...] when really it should be [...]

.github/ISSUE_TEMPLATE/maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ representative at an online or offline event.
6262
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6363
reported to the community leaders responsible for enforcement at
6464
matplotlib@numfocus.org (monitored by Thomas Caswell (\@tacaswell) and Hannah
65-
Aizenman (\@story645)) or a report can be made using the [NumFOCUS Code of Conduct report form][numfocus form].
65+
Aizenman (\@story645)) or a report can be made using the [NumFOCUS Code of Conduct report form][numfocus form].
6666
If community leaders cannot come to a resolution about enforcement, reports will be escalated to the NumFocus Code of Conduct committee (conduct@numfocus.org).
6767
All complaints will be reviewed and investigated promptly and fairly.
6868

doc/README.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ This is the top level build directory for the Matplotlib
1313
documentation. All of the documentation is written using sphinx, a
1414
python documentation system built on top of ReST. This directory contains
1515

16-
* users - the user documentation, e.g., installation, plotting tutorials,
16+
* users - the user documentation, e.g., installation, plotting tutorials,
1717
configuration tips, faq, explaations, etc.
1818

1919
* devel - documentation for Matplotlib developers
2020

2121
* api - placeholders to automatically generate the api documentation
2222

23-
* tutorials, plot_types, and gallery - automatically
23+
* tutorials, plot_types, and gallery - automatically
2424
generated by sphinx-gallery from ``../tutorials``, ``../plot_types``, and
2525
``../examples`` respectively (these are only present if docs have been
26-
built locally).
26+
built locally).
2727

2828
* thirdpartypackages - redirect to <https://matplotlib.org/mpl-third-party/>
2929

doc/_templates/automodule.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
treat this separately (sphinx-doc/sphinx/issues/4874)
66
.. automodule:: {{ fullname }}
77
:members:
8-
8+
99
{% else %}
1010

1111
.. automodule:: {{ fullname }}
@@ -18,7 +18,7 @@
1818
Classes
1919
-------
2020

21-
.. autosummary::
21+
.. autosummary::
2222
:template: autosummary.rst
2323
:toctree:
2424
{% for item in classes %}{% if item not in ['zip', 'map', 'reduce'] %}
@@ -32,7 +32,7 @@ Classes
3232
Functions
3333
---------
3434

35-
.. autosummary::
35+
.. autosummary::
3636
:template: autosummary.rst
3737
:toctree:
3838

doc/api/lines_api.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@ Functions
2626
:template: autosummary.rst
2727

2828
segment_hits
29-

doc/api/next_api_changes/behavior/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Behavior Change template
44
Enter description here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

doc/api/next_api_changes/development/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Development Change template
44
Enter description here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

doc/api/next_api_changes/removals/00001-ABC.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ Removal Change template
44
Enter description of methods/classes removed here....
55

66
Please rename file with PR number and your initials i.e. "99999-ABC.rst"
7-
and ``git add`` the new file.
7+
and ``git add`` the new file.

0 commit comments

Comments
 (0)
0