Skip to content

Commit 4ea91ba

Browse files
committed
Fix formatting
1 parent 7ad565a commit 4ea91ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

citc/aws.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ def get_types_info(client):
8686
s: {
8787
"memory": d["MemoryInfo"]["SizeInMiB"]
8888
- int(math.pow(d["MemoryInfo"]["SizeInMiB"], 0.7) * 0.9 + 500),
89-
"cores_per_socket": d["VCpuInfo"].get("DefaultCores", d["VCpuInfo"]["DefaultVCpus"]),
89+
"cores_per_socket": d["VCpuInfo"].get(
90+
"DefaultCores", d["VCpuInfo"]["DefaultVCpus"]
91+
),
9092
"threads_per_core": d["VCpuInfo"].get("DefaultThreadsPerCore", 1),
9193
"arch": d["ProcessorInfo"]["SupportedArchitectures"][0],
9294
}

0 commit comments

Comments
 (0)