Skip to content

Commit 60f83c7

Browse files
committed
Fix flake8 errors and ignore error E501
1 parent 32f5f42 commit 60f83c7

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ install:
2525
- pip install -e .
2626
- if [[ $TRAVIS_OS_NAME == linux && $PYTHON_VERSION != 2.7 ]]; then jupyter labextension install .; fi
2727
script:
28-
- flake8 ipycanvas
28+
- flake8 ipycanvas --ignore=E501

ipycanvas/binary.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
"""Binary module."""
2-
3-
try:
4-
from io import BytesIO as StringIO # python3
5-
except:
6-
from StringIO import StringIO # python2
7-
82
import numpy as np
93

104

ipycanvas/nbextension/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Copyright (c) Martin Renou
55
# Distributed under the terms of the Modified BSD License.
66

7+
78
def _jupyter_nbextension_paths():
89
return [{
910
'section': 'notebook',

0 commit comments

Comments
 (0)