Skip to content

Commit c4c6ce1

Browse files
echarrodemmas-yoti
authored andcommitted
Run code formatter
1 parent c2d2c38 commit c4c6ce1

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

examples/yoti_example_django/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile --output-file requirements.txt requirements.in
5+
# pip-compile --output-file=requirements.txt requirements.in
66
#
77
asn1==2.2.0 # via yoti
88
asn1crypto==0.24.0 # via cryptography

examples/yoti_example_flask/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile --output-file requirements.txt requirements.in
5+
# pip-compile --output-file=requirements.txt requirements.in
66
#
77
asn1==2.2.0 # via yoti
88
asn1crypto==0.24.0 # via cryptography

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is autogenerated by pip-compile
33
# To update, run:
44
#
5-
# pip-compile --output-file requirements.txt requirements.in
5+
# pip-compile --output-file=requirements.txt requirements.in
66
#
77
asn1==2.2.0
88
asn1crypto==0.24.0 # via cryptography

yoti_python_sdk/profile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ def __init__(self, profile_attributes):
3737
except Exception as exc:
3838
if logging.getLogger().propagate:
3939
logging.warning(
40-
'Error parsing profile attribute:{0}, exception: {1} - {2}'.format(field.name, type(exc).__name__, exc))
40+
'Error parsing profile attribute:{0}, exception: {1} - {2}'.format(field.name,
41+
type(exc).__name__, exc))
4142

4243
self.ensure_postal_address()
4344

yoti_python_sdk/tests/test_profile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ def test_error_parsing_attribute_has_none_value():
136136
assert profile.get_attribute(int_attribute_name) is None
137137

138138

139-
@pytest.mark.parametrize("content_type", [Protobuf.CT_DATE, Protobuf.CT_INT, Protobuf.CT_JPEG, Protobuf.CT_PNG, Protobuf.CT_JSON, Protobuf.CT_UNDEFINED])
139+
@pytest.mark.parametrize("content_type",
140+
[Protobuf.CT_DATE, Protobuf.CT_INT, Protobuf.CT_JPEG, Protobuf.CT_PNG, Protobuf.CT_JSON,
141+
Protobuf.CT_UNDEFINED])
140142
def test_parse_empty_values_returns_none(content_type):
141143
attribute_name = "attribute_name"
142144

0 commit comments

Comments
 (0)