Skip to content

Language specific bugs #10

@roovyshapiro

Description

@roovyshapiro

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions