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

Skip to content

Commit 6505a94

Browse files
committed
Make PEP8 exceptions explicit for doc/*
1 parent b4010ff commit 6505a94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# All configuration values have a default value; values that are commented out
1212
# serve to show the default value.
1313

14+
import matplotlib
1415
import os
1516
import sys
1617
import sphinx
@@ -63,7 +64,6 @@ def _check_deps():
6364

6465
_check_deps()
6566

66-
import matplotlib
6767
try:
6868
from unittest.mock import MagicMock
6969
except ImportError:

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pep8ignore =
110110
mpl_toolkits/exceltools.py E201 E202 E225 E228 E302 E303 E501 E701
111111
mpl_toolkits/gtktools.py E221 E222 E225 E228 E231 E251 E261 E301 E302 E303 E401 E501 E701
112112

113-
doc/* ALL
113+
doc/* E302 E501
114114
tutorials/* E402 E501
115115

116116
*examples/* E501 E402

0 commit comments

Comments
 (0)