archive
/
ymd
Archived
1
Fork 0
This commit is contained in:
Jake Howard 2017-03-14 20:04:09 +00:00
parent ccb11d4f2a
commit c7cc82a9d5
2 changed files with 8 additions and 1 deletions

View File

@ -6,3 +6,10 @@ machine:
dependencies:
override:
- bash build.sh
test:
pre:
- pip install flake8
override:
- flake8 ymd/ --ignore=E128,E501

View File

@ -22,6 +22,7 @@ def parse_item(item, h):
return item
return markdown.markdown(str(item))
def output(item, f):
item_type = type(item)
if item_type is list:
@ -48,4 +49,3 @@ with StringIO() as rendered:
os.remove('test.html')
with open('test.html', 'w') as f:
f.write(soup.prettify())