style: Fix linting issues in benchmark.py

This commit is contained in:
Paul Gauthier (aider) 2024-12-17 16:49:50 -08:00
parent c4c135e678
commit a842f41627

View file

@ -791,11 +791,11 @@ def run_unit_tests(testdir, history_fname, test_files):
# Map of file extensions to test commands # Map of file extensions to test commands
TEST_COMMANDS = { TEST_COMMANDS = {
'.py': ['pytest'], ".py": ["pytest"],
'.rs': ['cargo', 'test', '--', '--include-ignored'], ".rs": ["cargo", "test", "--", "--include-ignored"],
'.cs': ['dotnet', 'test'], ".cs": ["dotnet", "test"],
'.go': ['go', 'test', './...'], ".go": ["go", "test", "./..."],
'.js': ['npm', 'test'], ".js": ["npm", "test"],
} }
# Get unique file extensions from test files # Get unique file extensions from test files