Skip to content

Commit

Permalink
Fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkelk committed Jul 31, 2024
1 parent d995dd7 commit 3a019c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions redo/rules/build_analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from util import filesystem
from util import redo
from util import shell
from models import analyze
import re


Expand Down Expand Up @@ -139,10 +138,6 @@ def _analyze_ada_sources(source_files, base_dir, build_target, binary_mode=False

# Get info for forming gnatsas command:
gpr_project_file = build_target_instance.gpr_project_file().strip()
target_path_files = build_target_instance.path_files()
run_file = build_dir + os.sep + "run.log"
output_file = build_dir + os.sep + "analysis.txt"
direct = " >&2"

# Info print:
redo.info_print(
Expand Down Expand Up @@ -224,7 +219,7 @@ def modify_contents(gpr_contents):
# html_cmd = "gnatsas report html -P" + gnatsas_gpr_file
# ret = shell.try_run_command(html_cmd)

# Make securty report
# Make security report
security_out_file = os.path.join(output_dir, "security.txt")
security_cmd = "gnatsas report security -P" + gnatsas_gpr_file + " --out " + security_out_file
ret = shell.try_run_command(security_cmd)
Expand Down

0 comments on commit 3a019c1

Please sign in to comment.