<commit_before>from ..plugin import BasePlugin
from ..commands import BaseCommands


class Commands(BaseCommands):

    def cap(self, sock, source):
        pass


class Capability(BasePlugin):

    def init(self, *args, **kwargs):
        super(Capability, self).init(*args, **kwargs)<commit_msg>Fix CAP so it takes any no. of args<commit_after>from ..plugin import BasePlugin
from ..commands import BaseCommands


class Commands(BaseCommands):

    def cap(self, sock, source, *args):
        pass


class Capability(BasePlugin):

    def init(self, *args, **kwargs):
        super(Capability, self).init(*args, **kwargs)
{'fraction_non_alphanumeric': 0.12038523274478331, 'fraction_numerical': 0.0, 'mean_word_length': 3.9133858267716537, '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': '2842464', 'n_tokens_mistral': 186, 'n_tokens_neox': 179, 'n_words': 56}