Skip to content

Commit

Permalink
Update css_check.py
Browse files Browse the repository at this point in the history
  • Loading branch information
IITI-tushar authored Jan 19, 2025
1 parent ba04cba commit 55320e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/scripts/css_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def check_files(
allowed_css_patterns: List of allowed CSS patterns for validation.
Returns:
CSSCheckResult: A result object containing:
- violations: List of CSS violations found.
- correct_css_imports: List of correct CSS imports.
- embedded_css_violations: List of embedded CSS violations.
CSSCheckResult: A result object containing:
- violations: List of CSS violations found.
- correct_css_imports: List of correct CSS imports.
- embedded_css_violations: List of embedded CSS violations.
"""
violations = []
correct_css_imports = []
Expand Down Expand Up @@ -152,6 +152,7 @@ def main():
Args:
None: This function does not take any arguments.
It uses argparse to handle command-line arguments.
Returns:
None: This function does not return any value but prints the violations.
Expand Down

0 comments on commit 55320e2

Please sign in to comment.