Skip to content
Snippets Groups Projects
Commit 61cc76cd authored by roadscape's avatar roadscape
Browse files

lint tests

parent 543b30c4
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ def _generate(infile): ...@@ -22,6 +22,7 @@ def _generate(infile):
stubs.append(stub) stubs.append(stub)
outfile = open('tests/test_' + '_'.join(path[1:]) + '.py', 'w') outfile = open('tests/test_' + '_'.join(path[1:]) + '.py', 'w')
outfile.write("#pylint: disable=missing-docstring\n")
outfile.write("from %s import (\n" % '.'.join(path)) outfile.write("from %s import (\n" % '.'.join(path))
for method in methods: for method in methods:
outfile.write(" %s,\n" % method) outfile.write(" %s,\n" % method)
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# pylint: disable=unused-import,unused-variable,wildcard-import #pylint: disable=unused-import,unused-variable,wildcard-import,missing-docstring
from hive import * from hive import *
from hive.db import * from hive.db import *
......
#pylint: disable=missing-docstring
import pytest import pytest
from hive.server.condenser_api.get_state import get_state from hive.server.condenser_api.get_state import get_state
...@@ -30,4 +31,3 @@ async def test_get_state(): ...@@ -30,4 +31,3 @@ async def test_get_state():
with pytest.raises(Exception): with pytest.raises(Exception):
await get_state('witnesses') await get_state('witnesses')
#pylint: disable=missing-docstring
import datetime import datetime
import pytest import pytest
......
#pylint: disable=missing-docstring,line-too-long
import json import json
from hive.utils.account import safe_profile_metadata from hive.utils.account import safe_profile_metadata
......
#pylint: disable=missing-docstring
from datetime import datetime from datetime import datetime
from decimal import Decimal from decimal import Decimal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment