Skip to content

Commit

Permalink
linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
l0uden committed Jul 22, 2024
1 parent a43b0b9 commit 11c81bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/scan_yaml_for_risky_text.py.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Check for security issues in workflows files"""
"""Check for security issues in workflows files."""

import sys
from pathlib import Path
Expand All @@ -9,7 +9,7 @@


def find_risky_files(path: str):
"""Searching for risky text in yml files for given path"""
"""Searching for risky text in yml files for given path."""
return {str(file) for file in Path(path).rglob("*.yml") if f"{risky_text}" in file.read_text()}


Expand Down

0 comments on commit 11c81bc

Please sign in to comment.