Remove useless pylint suppressions

This commit is contained in:
Ned Batchelder
2015-11-21 20:39:35 -05:00
parent 7a858b6e09
commit f5d0f3ff55
225 changed files with 329 additions and 438 deletions

View File

@@ -1,5 +1,4 @@
# pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name
import urllib
from lettuce import world

View File

@@ -255,7 +255,7 @@ class StubLtiHandler(StubHttpRequestHandler):
# Calculate and encode body hash. See http://oauth.googlecode.com/svn/spec/ext/body_hash/1.0/oauth-bodyhash.html
sha1 = hashlib.sha1()
sha1.update(body)
oauth_body_hash = unicode(base64.b64encode(sha1.digest())) # pylint: disable=too-many-function-args
oauth_body_hash = unicode(base64.b64encode(sha1.digest()))
params = client.get_oauth_params(None)
params.append((u'oauth_body_hash', oauth_body_hash))
mock_request = mock.Mock(

View File

@@ -1,5 +1,4 @@
# pylint: disable=missing-docstring
# pylint: disable=redefined-outer-name
from lettuce import world
@@ -22,7 +21,7 @@ from selenium.common.exceptions import (
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from nose.tools import assert_true # pylint: disable=no-name-in-module
from nose.tools import assert_true
GLOBAL_WAIT_FOR_TIMEOUT = 60