Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <[email protected]>
  • Loading branch information
arthurscchan committed Dec 17, 2024
1 parent 1c84595 commit 5ebc8e1
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions tools/web-fuzzing-introspection/app/webapp/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1425,9 +1425,16 @@ def api_get_project_language_from_source_files(args):

languages = {'c': 0, 'c++': 0, 'python': 0, 'java': 0, 'go': 0, 'rust': 0}
extensions = {
'.c': 'c', '.cc': 'c++', '.cpp': 'c++', '.c++': 'c++',
'.cxx': 'c+', '.py': 'python', '.java': 'java', '.go': 'go',
'.cgo': 'go', '.rs': 'rust'
'.c': 'c',
'.cc': 'c++',
'.cpp': 'c++',
'.c++': 'c++',
'.cxx': 'c+',
'.py': 'python',
'.java': 'java',
'.go': 'go',
'.cgo': 'go',
'.rs': 'rust'
}

for source_file in all_files_list:
Expand Down

0 comments on commit 5ebc8e1

Please sign in to comment.