Skip to content

Commit 33008a6

Browse files
committed
MNT: Make some long line exceptions explicit
There's only one or two lines that need this exception, so the entire file doesn't need to be exempted.
1 parent 2a01277 commit 33008a6

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.flake8

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@ exclude =
3131
.eggs
3232

3333
per-file-ignores =
34-
lib/matplotlib/_animation_data.py: E501
3534
lib/matplotlib/_cm.py: E122, E202, E203, E302
3635
lib/matplotlib/_mathtext.py: E221, E251
3736
lib/matplotlib/_mathtext_data.py: E122, E203, E261
3837
lib/matplotlib/backends/backend_template.py: F401
39-
lib/matplotlib/font_manager.py: E501
4038
lib/matplotlib/mathtext.py: E221
4139
lib/matplotlib/pylab.py: F401, F403
4240
lib/matplotlib/pyplot.py: F811

lib/matplotlib/_animation_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
}}, 0);
252252
}})()
253253
</script>
254-
"""
254+
""" # noqa: E501
255255

256256

257257
INCLUDED_FRAMES = """

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def win32FontDirectory():
206206
\\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Fonts
207207
208208
If the key is not found, ``%WINDIR%\Fonts`` will be returned.
209-
"""
209+
""" # noqa: E501
210210
import winreg
211211
try:
212212
with winreg.OpenKey(winreg.HKEY_CURRENT_USER, MSFolders) as user:

0 commit comments

Comments
 (0)