🛠️ Black reformatting.

This commit is contained in:
Robert Honz
2024-01-12 10:51:30 +01:00
parent 8196213247
commit 3fddfe18a6
6 changed files with 17 additions and 11 deletions
+4 -4
View File
@@ -126,8 +126,8 @@ def length_max_name_file() -> int:
result: int = 255
try:
if system in ['Darwin', 'Linux']:
result: int = os.pathconf('/', 'PC_NAME_MAX')
if system in ["Darwin", "Linux"]:
result: int = os.pathconf("/", "PC_NAME_MAX")
except Exception:
pass
@@ -139,8 +139,8 @@ def length_max_name_path() -> int:
result: int = 255
try:
if system in ['Darwin', 'Linux']:
result: int = os.pathconf('/', 'PC_PATH_MAX')
if system in ["Darwin", "Linux"]:
result: int = os.pathconf("/", "PC_PATH_MAX")
except Exception:
pass