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
+8 -3
View File
@@ -1,12 +1,17 @@
# -*- encoding: utf-8 -*-
import pytest
from response_util import meal_names
from stw_potsdam import views
# noinspection PyUnresolvedReferences
from tests.response_util import meal_names
# pytest fixtures are linked via parameter names of test methods
from stub_api import api_offline, api_online_one_shot
# pragma pylint: disable=unused-import,redefined-outer-name,unused-argument
from tests.stub_api import api_offline, api_online_one_shot
# Long test method names are not 'snake case'!
# See https://github.com/PyCQA/pylint/issues/2047
# The fix has not been ported to Python 2.x.
# pylint: disable=invalid-name
def test_health_check(client):