tests: fix ruff lint errors in security tests
Some checks failed
CI / Security Scan (push) Successful in 20s
CI / Lint & Format (push) Failing after 22s
CI / Unit Tests (push) Has been skipped
CI / Security Tests (push) Has been skipped
CI / Advanced Security Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Build & Push Image (push) Has been skipped

This commit is contained in:
Username
2026-01-18 10:04:27 +01:00
parent 661dab4a81
commit 97bf955820
5 changed files with 19 additions and 21 deletions

View File

@@ -14,8 +14,8 @@ from app import create_app
# Global profiler
profiler = cProfile.Profile()
profile_output = "/tmp/flaskpaste_profile.prof"
stats_output = "/tmp/flaskpaste_profile_stats.txt"
profile_output = "/tmp/flaskpaste_profile.prof" # noqa: S108
stats_output = "/tmp/flaskpaste_profile_stats.txt" # noqa: S108
def save_profile():