<commit_before>from pyfirmata import *
from boards import BOARDS

__version__ = '0.9.1'

# shortcut classes

class Arduino(Board):
    """
    A board that wil set itself up as a normal Arduino.
    """
    def __init__(*args, **kwargs):
        args.append(BOARDS['arduino'])
        super(Arduino, self).__init__(*args, **kwargs)
        
    def __str__(self):
        return 'Arduino %s on %s' % (self.name, self.sp.port)
    
class ArduinoMega(Board):
    """
    A board that wil set itself up as an Arduino Mega.
    """
    def __init__(*args, **kwargs):<commit_msg>Fixed bug with the Arduino and ArduinoMega subclasses<commit_after>from pyfirmata import *
from boards import BOARDS

__version__ = '0.9.1'

# shortcut classes

class Arduino(Board):
    """
    A board that wil set itself up as a normal Arduino.
    """
    def __init__(self, *args, **kwargs):
        args = list(args)
        args.append(BOARDS['arduino'])
        super(Arduino, self).__init__(*args, **kwargs)
        
    def __str__(self):
        return 'Arduino %s on %s' % (self.name, self.sp.port)
    
class ArduinoMega(Board):
    """
    A board that wil set itself up as an Arduino Mega.
    """
    def __init__(self, *args, **kwargs):
        args = list(args)
{'fraction_non_alphanumeric': 0.12619808306709265, 'fraction_numerical': 0.004792332268370607, 'mean_word_length': 2.796969696969697, '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': '4401277', 'n_tokens_mistral': 437, 'n_tokens_neox': 412, 'n_words': 124}