lint: Clean up E114 PEP-8 lint rule.

This commit is contained in:
Tim Abbott 2017-01-23 20:52:58 -08:00
parent 22d1aa396b
commit df3d6aee5d
4 changed files with 4 additions and 4 deletions

View File

@ -87,7 +87,7 @@ def check_pep8(files):
# ignored. It either doesn't fit with the style of the project or should
# actually be cleaned up.
#
'E114', 'E115', 'E121', 'E123', 'E126', 'E226', 'E241', 'E261', 'E302',
'E115', 'E121', 'E123', 'E126', 'E226', 'E241', 'E261', 'E302',
'E305', 'E306', 'E401', 'E501', 'E702', 'E711', 'E712', 'E713', 'E714',
'E741',

View File

@ -8,7 +8,7 @@ class StripeHookTests(WebhookTestCase):
FIXTURE_DIR_NAME = 'stripe'
def test_charge_dispute_closed(self):
# type: () -> None
# type: () -> None
expected_subject = u"Charge ch_00000000000000"
expected_message = u"A charge dispute for **10.01aud** has been closed as **won**.\nThe charge in dispute was **[ch_00000000000000](https://dashboard.stripe.com/payments/ch_00000000000000)**."

View File

@ -15,7 +15,7 @@ def api_transifex_webhook(request, user_profile, client,
language=REQ(), translated=REQ(default=None),
reviewed=REQ(default=None),
stream=REQ(default='transifex')):
# type: (HttpRequest, UserProfile, Client, str, str, str, Optional[int], Optional[int], str) -> HttpResponse
# type: (HttpRequest, UserProfile, Client, str, str, str, Optional[int], Optional[int], str) -> HttpResponse
subject = "{} in {}".format(project, language)
if translated:
body = "Resource {} fully translated.".format(resource)

View File

@ -14,7 +14,7 @@ import ujson
def api_yo_app_webhook(request, user_profile, client, email=REQ(default=None),
username=REQ(default='Yo Bot'), topic=REQ(default=None),
user_ip=REQ(default=None)):
# type: (HttpRequest, UserProfile, Client, Optional[str], str, Optional[str], Optional[str]) -> HttpResponse
# type: (HttpRequest, UserProfile, Client, Optional[str], str, Optional[str], Optional[str]) -> HttpResponse
body = ('Yo from %s') % (username,)
check_send_message(user_profile, client, 'private', [email], topic, body)