Skip to content

Commit

Permalink
pep8 styling
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Dec 14, 2014
1 parent 705d0af commit a608905
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyexcel_io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
else:
from collections import OrderedDict


def add_metaclass(metaclass):
"""Class decorator for creating a class with a metaclass."""
def wrapper(cls):
Expand All @@ -28,7 +29,7 @@ def wrapper(cls):
orig_vars.pop('__weakref__', None)
return metaclass(cls.__name__, cls.__bases__, orig_vars)
return wrapper

DEFAULT_SHEETNAME = 'pyexcel_sheet1'


Expand All @@ -38,7 +39,8 @@ def __init__(self, name, payload):
self.name = name
self.payload = payload

@add_metaclass(ABCMeta)

@add_metaclass(ABCMeta)
class SheetReaderBase(object):
"""
sheet
Expand Down Expand Up @@ -90,6 +92,7 @@ def to_array(self):
array.append(row)
return array


@add_metaclass(ABCMeta)
class BookReaderBase(object):

Expand Down

0 comments on commit a608905

Please sign in to comment.