<commit_before>import copy
import json
import os

import sublime
import sublime_plugin

from .WebOS import WebosCommand


class WebosSetTargetCommand(sublime_plugin.WindowCommand, WebosCommand):
    def __init__(self, window):
        sublime_plugin.WindowCommand.__init__(self, window)
        self.device_data = []
        self.tv_data = []
        self.watch_data = []
        self.signage_data = []
        self.selected_target = -1
        self.settings = sublime.load_settings('WebOS.sublime-settings')

        if not self.settings.get('CLIPATH'):
            if os.getenv('WEBOS_CLI_WD'):
                self.settings.set('CLIPATH', 'WEBOS_CLI_WD')
                self.settings.set('sdkType', 'Watch')
            elif os.getenv('WEBOS_CLI_SIGNAGE'):
                self.settings.set('CLIPATH', 'WEBOS_CLI_SIGNAGE')
                self.settings.set('sdkType', 'Signage')
            elif os.getenv('PARTNER_CLI_TV'):
                self.settings.set('CLIPATH', 'PARTNER_CLI_TV')<commit_msg>Call __init__ function of the WebosCommand class in WebOSSetup<commit_after>import copy
import json
import os

import sublime
import sublime_plugin

from .WebOS import WebosCommand


class WebosSetTargetCommand(sublime_plugin.WindowCommand, WebosCommand):
    def __init__(self, window):
        sublime_plugin.WindowCommand.__init__(self, window)
        WebosCommand.__init__(self, window)
        self.device_data = []
        self.tv_data = []
        self.watch_data = []
        self.signage_data = []
        self.selected_target = -1
        self.settings = sublime.load_settings('WebOS.sublime-settings')

        if not self.settings.get('CLIPATH'):
            if os.getenv('WEBOS_CLI_WD'):
                self.settings.set('CLIPATH', 'WEBOS_CLI_WD')
                self.settings.set('sdkType', 'Watch')
            elif os.getenv('WEBOS_CLI_SIGNAGE'):
                self.settings.set('CLIPATH', 'WEBOS_CLI_SIGNAGE')
                self.settings.set('sdkType', 'Signage')
            elif os.getenv('PARTNER_CLI_TV'):
                self.settings.set('CLIPATH', 'PARTNER_CLI_TV')
{'fraction_non_alphanumeric': 0.1124344926155312, 'fraction_numerical': 0.0009528346831824678, 'mean_word_length': 2.6713286713286712, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2915565', 'n_tokens_mistral': 679, 'n_tokens_neox': 660, 'n_words': 107}