Skip to content

Commit 24d616f

Browse files
committed
Fix python formatting
1 parent f6e92d7 commit 24d616f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci-post-commit-analyzer-run.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@
55
import subprocess
66
import sys
77

8+
89
def run_analyzer(data):
9-
os.chdir(data['directory'])
10-
command = data['command'] + f' --analyze --analyzer-output html -o analyzer-results -Xclang -analyzer-config -Xclang max-nodes=75000'
10+
os.chdir(data["directory"])
11+
command = (
12+
data["command"]
13+
+ f" --analyze --analyzer-output html -o analyzer-results -Xclang -analyzer-config -Xclang max-nodes=75000"
14+
)
1115
print(command)
1216
subprocess.run(command, shell=True, check=True)
1317

18+
1419
def pool_error(e):
1520
print("Error analyzing file:", e)
1621

22+
1723
def main():
1824
db_path = sys.argv[1]
1925
database = json.load(open(db_path))
@@ -23,5 +29,6 @@ def main():
2329
pool.close()
2430
pool.join()
2531

32+
2633
if __name__ == "__main__":
2734
main()

0 commit comments

Comments
 (0)