Skip to content

Commit 2e34141

Browse files
committed
Add blank lines after toplevel function definitions.
This fixes warnings with pycodestyle ≥ 2.1, see PyCQA/pycodestyle#400.
1 parent dc7cb37 commit 2e34141

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

markdown/__version__.py

+1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ def _get_version():
2626

2727
return str(main + sub)
2828

29+
2930
version = _get_version()

markdown/extensions/attr_list.py

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def _handle_word(s, t):
5252
return 'id', t[1:]
5353
return t, t
5454

55+
5556
_scanner = Scanner([
5657
(r'[^ =]+=".*?"', _handle_double_quote),
5758
(r"[^ =]+='.*?'", _handle_single_quote),

markdown/inlinepatterns.py

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def build_inlinepatterns(md_instance, **kwargs):
8787
inlinePatterns["emphasis2"] = SimpleTagPattern(EMPHASIS_2_RE, 'em')
8888
return inlinePatterns
8989

90+
9091
"""
9192
The actual regular expressions for patterns
9293
-----------------------------------------------------------------------------

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def get_version():
2222
finally:
2323
fp.close()
2424

25+
2526
version, version_info = get_version()
2627

2728
# Get development Status for classifiers
@@ -210,6 +211,7 @@ def has_docs(self):
210211

211212
sub_commands = build.sub_commands + [('build_docs', has_docs)]
212213

214+
213215
long_description = '''
214216
This is a Python implementation of John Gruber's Markdown_.
215217
It is almost completely compliant with the reference implementation,

0 commit comments

Comments
 (0)