Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmithtt committed Dec 3, 2024
1 parent 9e3df04 commit 490fcaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/collect_data/src/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ def parse_file(filepath: str) -> List[Test]:
try:
return parser.parse(filepath)
except Exception as e:
logger.error(
f"Error parsing file: {filepath} using parser: {type(parser).__name__}"
)
logger.error(f"Error parsing file: {filepath} using parser: {type(parser).__name__}")
logger.error(f"Exception: {e}")
logger.error("Trying next parser")
logger.error(f"No parser available for file: {filepath}")
return []


if __name__ == "__main__":
import sys

if len(sys.argv) != 2:
print("Usage: python test_parser.py <file>")
sys.exit(1)
Expand Down

0 comments on commit 490fcaa

Please sign in to comment.