Skip to content

Commit

Permalink
Create run_security_audit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Nov 26, 2024
1 parent 74907a3 commit 2904413
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions QuantumNexusProtocol/scripts/run_security_audit.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import subprocess

def run_security_audit():
print("Running security audit...")
try:
subprocess.run(["safety", "check"], check=True)
print("Security audit completed successfully.")
except subprocess.CalledProcessError as e:
print("Error during security audit:", e)

if __name__ == "__main__":
run_security_audit()

0 comments on commit 2904413

Please sign in to comment.