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

Skip to content

Commit e6162fb

Browse files
committed
Get rid of boilerplate.py.
1 parent d7b93ba commit e6162fb

File tree

3 files changed

+3
-395
lines changed

3 files changed

+3
-395
lines changed

lib/matplotlib/pyplot.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +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.
31
"""
42
Provides a MATLAB-like plotting framework.
53
@@ -21,6 +19,7 @@
2119
import six
2220

2321
import inspect
22+
import re
2423
import sys
2524
import warnings
2625

@@ -1634,12 +1633,10 @@ def _setup_pyplot_info_docstrings():
16341633
"""
16351634
Generates the plotting and docstring.
16361635
1637-
These must be done after the entire module is imported, so it is
1638-
called from the end of this module, which is generated by
1639-
boilerplate.py.
1636+
These must be done after the entire module is imported, so it is called
1637+
from the end of this module.
16401638
"""
16411639
# Generate the plotting docstring
1642-
import re
16431640

16441641
def pad(s, l):
16451642
"""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)