Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdded more logs
app.py
CHANGED
@@ -68,7 +68,10 @@ def run_cppcheck(source_code: str):
|
|
68 |
lang_args = ["--std=c++17", "--language=c++", "--profile=misra-cpp-2012"]
|
69 |
print("misra-cpp-2012")
|
70 |
|
71 |
-
cmd = ["cppcheck", "--enable=all", *lang_args, "--template=json", tf.name]
|
|
|
|
|
|
|
72 |
|
73 |
res = subprocess.run(cmd, capture_output=True, text=True)
|
74 |
try:
|
|
|
68 |
lang_args = ["--std=c++17", "--language=c++", "--profile=misra-cpp-2012"]
|
69 |
print("misra-cpp-2012")
|
70 |
|
71 |
+
#cmd = ["cppcheck", "--enable=all", *lang_args, "--template=json", tf.name]
|
72 |
+
cmd = ["cppcheck", "--enable=all", *lang_args, tf.name]
|
73 |
+
|
74 |
+
print(cmd)
|
75 |
|
76 |
res = subprocess.run(cmd, capture_output=True, text=True)
|
77 |
try:
|