build.py
Function send_trigger_request
has 10 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_trigger_request(email, TRAVIS_TAG, event_url, TRAVIS_SCRIPT, recipe, processor, feature, wallpaper_url, logo_url, theme):
Function send_trigger_request
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
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')