Skip to content

Commit 10ccb0b

Browse files
fix lint
1 parent 6a11203 commit 10ccb0b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

scripts/compile_compatibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def content_checker(filepath):
2121
)
2222
print("")
2323
version_thumbprint_file = sys.argv[1]
24-
with open(version_thumbprint_file, "r") as file:
24+
with open(version_thumbprint_file) as file:
2525
version_thumbprint = file.read()
2626
print(f"Version: {version_thumbprint}")
2727
print("")

scripts/compile_tzlc.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,17 @@ def _intern(filepath):
1818

1919
if __name__ == "__main__":
2020
if len(sys.argv) < 4:
21-
print("Params: <version-thumbprint-file> <folder> <expected content> [<expected content>...]")
21+
print(
22+
"Params: <version-thumbprint-file> <folder> <expected content> [<expected content>...]"
23+
)
2224
sys.exit(1)
2325
print("## Timezone and Locale Compatibility")
2426
print(
2527
"Checks if `icloudpd` can be installed using minimal effort and ran bare minimum functionality of displaying version and commit timestamp in local timezone and RU locale. Minimal effort may require installing default version of package manager, timezone data, and locales using OS tools"
2628
)
2729
print("")
2830
version_thumbprint_file = sys.argv[1]
29-
with open(version_thumbprint_file, "r") as file:
31+
with open(version_thumbprint_file) as file:
3032
version_thumbprint = file.read()
3133
print(f"Version: {version_thumbprint}")
3234
print("")

0 commit comments

Comments
 (0)