Skip to content

Commit 869bf62

Browse files
committed
formatting
1 parent eeac1c0 commit 869bf62

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

codeflash/verification/pytest_plugin.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# System Imports
77
import logging
88
import os
9+
import platform
910
import re
1011
import sys
1112
import time
@@ -36,13 +37,13 @@ class UnexpectedError(Exception):
3637
pass
3738

3839

39-
import platform
40-
if platform.system() == 'Linux' or platform.system() == 'Darwin':
40+
if platform.system() == "Linux" or platform.system() == "Darwin":
4141
import resource
42-
import os
4342

4443
# Get total system memory
45-
total_memory = os.sysconf('SC_PAGE_SIZE') * os.sysconf('SC_PHYS_PAGES') # Set memory limit to 80% of total system memory
44+
total_memory = os.sysconf("SC_PAGE_SIZE") * os.sysconf(
45+
"SC_PHYS_PAGES"
46+
) # Set memory limit to 80% of total system memory
4647
memory_limit = int(total_memory * 0.8)
4748

4849
# Set both soft and hard limits

0 commit comments

Comments
 (0)