fossasia/meilix-generator

View on GitHub
build.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function send_trigger_request has 10 arguments (exceeds 4 allowed). Consider refactoring.
Open

def send_trigger_request(email, TRAVIS_TAG, event_url, TRAVIS_SCRIPT, recipe, processor, feature, wallpaper_url, logo_url, theme):
Severity: Major
Found in build.py - About 1 hr to fix

    Function send_trigger_request has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    def send_trigger_request(email, TRAVIS_TAG, event_url, TRAVIS_SCRIPT, recipe, processor, feature, wallpaper_url, logo_url, theme):
        # Params for Travis API
        USER = os.environ.get('USER','fossasia')
        PROJECT = os.environ.get('PROJECT', 'meilix')
        BRANCH = os.environ.get('BRANCH', 'master')
    Severity: Minor
    Found in build.py - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status