Add PyLint

This commit is contained in:
f4lco
2019-01-27 20:45:51 +01:00
parent 6ec0c010e5
commit b86284054f
13 changed files with 688 additions and 28 deletions
+6 -6
View File
@@ -17,18 +17,18 @@ def _canteen():
def _menu():
with open(_resource_path('input.json')) as f:
return json.load(f)
with open(_resource_path('input.json')) as menu_file:
return json.load(menu_file)
def _expected_meta_feed():
with io.open(_resource_path('meta_output.xml'), encoding='utf-8') as f:
return f.read()
with io.open(_resource_path('meta_output.xml'), encoding='utf-8') as xml:
return xml.read()
def _expected_menu_feed():
with io.open(_resource_path('menu_output.xml'), encoding='utf-8') as f:
return f.read()
with io.open(_resource_path('menu_output.xml'), encoding='utf-8') as xml:
return xml.read()
def test_meta_consistency():