Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Commit

Permalink
Add missing empty lines for Flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jan 25, 2017
1 parent 35b0413 commit 2150bc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions tinycss/decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class Slicer(object):
def __getitem__(self, slice_):
return operator.itemgetter(slice_)


Slice = Slicer()


Expand Down
1 change: 1 addition & 0 deletions tinycss/tests/speed.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def parse(tokenizer_name):
result.append((selector, declarations))
return result


parse_cython = functools.partial(parse, 'cython_tokenize_flat')
parse_python = functools.partial(parse, 'python_tokenize_flat')

Expand Down
2 changes: 2 additions & 0 deletions tinycss/token_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def _init():
for names in dispatch
)


_init()


Expand All @@ -196,6 +197,7 @@ def _unicode_replace(match, int=int, unichr=unichr, maxunicode=sys.maxunicode):
else:
return '\N{REPLACEMENT CHARACTER}' # U+FFFD


UNICODE_UNESCAPE = functools.partial(
re.compile(COMPILED_MACROS['unicode'], re.I).sub,
_unicode_replace)
Expand Down

0 comments on commit 2150bc1

Please sign in to comment.