Skip to content

Commit d664a82

Browse files
author
mikhail.gubenko
committed
fix: format remarks
1 parent d4f751c commit d664a82

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

emnify/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# THIS FILE IS GENERATED AUTOMATICALLY, DON'T CHANGE ITS CONTENT!!
2-
EMNIFY_PACKAGE_VERSION="0.4.2"
2+
EMNIFY_PACKAGE_VERSION = "0.4.2"

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
# prerequisite: build
1212
# https://pypi.org/project/build/
1313

14-
REQUIRES = ["requests>=2.27.0,<2.33.0", "urllib3>=1.21.1,<1.27", "pydantic>=1.9.0,<2.0.0"]
14+
REQUIRES = [
15+
"requests>=2.27.0,<2.33.0",
16+
"urllib3>=1.21.1,<1.27",
17+
"pydantic>=1.9.0,<2.0.0",
18+
]
1519
if __name__ == "__main__":
1620
with open("README.md", "r", encoding="utf-8") as fh:
1721
long_description = fh.read()

tests/test_emnify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def vcr_cassette_dir(request):
1919
def scrub_response_string():
2020
def before_record_response(response):
2121
try:
22-
decoded_response = json.loads(response["body"]["string"]).decode('utf-8')
22+
decoded_response = json.loads(response["body"]["string"]).decode("utf-8")
2323
if "auth_token" in decoded_response:
2424
anonymized_response = decoded_response | {"auth_token": "test"}
2525
response["body"]["string"] = json.dumps(anonymized_response).encode(

0 commit comments

Comments
 (0)