Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf09ff8

Browse files
committed
Get rid of boilerplate.py.
1 parent 64a4d8b commit cf09ff8

File tree

3 files changed

+3
-396
lines changed

3 files changed

+3
-396
lines changed

lib/matplotlib/pyplot.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# Note: The first part of this file can be modified in place, but the latter
2-
# part is autogenerated by the boilerplate.py script.
3-
41
"""
52
`matplotlib.pyplot` is a state-based interface to matplotlib. It provides
63
a MATLAB-like way of plotting.
@@ -23,6 +20,7 @@
2320
import six
2421

2522
import inspect
23+
import re
2624
import sys
2725
import time
2826
import warnings
@@ -1672,12 +1670,10 @@ def _setup_pyplot_info_docstrings():
16721670
"""
16731671
Generates the plotting and docstring.
16741672
1675-
These must be done after the entire module is imported, so it is
1676-
called from the end of this module, which is generated by
1677-
boilerplate.py.
1673+
These must be done after the entire module is imported, so it is called
1674+
from the end of this module.
16781675
"""
16791676
# Generate the plotting docstring
1680-
import re
16811677

16821678
def pad(s, l):
16831679
"""Pad string *s* to length *l*."""

pytest.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ markers =
1010
pep8ignore =
1111
* E111 E114 E115 E116 E121 E122 E123 E124 E125 E126 E127 E128 E129 E131 E226 E240 E241 E242 E243 E244 E245 E246 E247 E248 E249 E265 E266 E704 W503
1212

13-
tools/boilerplate.py E501
1413
setup.py E402 E501
1514
setupext.py E301 E302 E501
1615
setup_external_compile.py E302 E501 E711

0 commit comments

Comments
 (0)