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
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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user