Group bugs based on the detected programming language. Auto assign only from that group based on the language.
Some bugs like tabs_spaces() might not create errors for some types of languages.
Line 740
def detect_language(self, filename):
'''Detects the language by checking the end of the filename'''
self.language = ''
if filename.endswith(".c"):
self.language = "c"
elif filename.endswith(".py"):
self.language = "python"
elif filename.endswith(".cpp"):
self.language = "c++"
elif filename.endswith(".php"):
self.language = "php"
Group bugs based on the detected programming language. Auto assign only from that group based on the language.
Some bugs like tabs_spaces() might not create errors for some types of languages.
Line 740