Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit c1d2d49

Browse files
committed
Fixup linting errors in http20/errors.py.
1 parent 532b202 commit c1d2d49

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hyper/http20/errors.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
# flake8: noqa
23
"""
34
hyper/http20/errors
45
~~~~~~~~~~~~~~~~~~~
@@ -43,16 +44,16 @@
4344
'Description': 'Compression state not updated'}
4445
CONNECT_ERROR = {'Name': 'CONNECT_ERROR',
4546
'Code': '0xa',
46-
'Description':
47+
'Description':
4748
'TCP connection error for CONNECT method'}
4849
ENHANCE_YOUR_CALM = {'Name': 'ENHANCE_YOUR_CALM',
4950
'Code': '0xb',
5051
'Description': 'Processing capacity exceeded'}
5152
INADEQUATE_SECURITY = {'Name': 'INADEQUATE_SECURITY',
5253
'Code': '0xc',
53-
'Description':
54+
'Description':
5455
'Negotiated TLS parameters not acceptable'}
55-
HTTP_1_1_REQUIRED = {'Name': 'HTTP_1_1_REQUIRED',
56+
HTTP_1_1_REQUIRED = {'Name': 'HTTP_1_1_REQUIRED',
5657
'Code': '0xd',
5758
'Description': 'Use HTTP/1.1 for the request'}
5859

@@ -61,6 +62,7 @@
6162
CANCEL, COMPRESSION_ERROR, CONNECT_ERROR, ENHANCE_YOUR_CALM,
6263
INADEQUATE_SECURITY, HTTP_1_1_REQUIRED]
6364

65+
6466
def get_data(error_code):
6567
"""
6668
Lookup the error code description, if not available throw a value error

0 commit comments

Comments
 (0)