# Path: thefuck/types.py
# class Command(object):
# class Rule(object):
# class CorrectedCommand(object):
#     def __init__(self, script, output):
#     def stdout(self):
#     def stderr(self):
#     def script_parts(self):
#     def __eq__(self, other):
#     def __repr__(self):
#     def update(self, **kwargs):
#     def from_raw_script(cls, raw_script):
#     def __init__(self, name, match, get_new_command,
#                  enabled_by_default, side_effect,
#                  priority, requires_output):
#     def __eq__(self, other):
#     def __repr__(self):
#     def from_path(cls, path):
#     def is_enabled(self):
#     def is_match(self, command):
#     def get_corrected_commands(self, command):
#     def __init__(self, script, side_effect, priority):
#     def __eq__(self, other):
#     def __hash__(self):
#     def __repr__(self):
#     def _get_script(self):
#     def run(self, old_cmd):
# 
# Path: thefuck/const.py
# DEFAULT_PRIORITY = 1000


from thefuck import types
from thefuck.const import DEFAULT_PRIORITY


class Rule(types.Rule):
    def __init__(self, name='', match=lambda *_: True,
                 get_new_command=lambda *_: '',
                 enabled_by_default=True,
                 side_effect=None,
                 priority=DEFAULT_PRIORITY,
                 requires_output=True):
        super(Rule, self).__init__(name, match, get_new_command,
                                   enabled_by_default, side_effect,
                                   priority, requires_output)


class CorrectedCommand(types.CorrectedCommand):

# Path: thefuck/types.py
# class Command(object):
# class Rule(object):
# class CorrectedCommand(object):
#     def __init__(self, script, output):
#     def stdout(self):
#     def stderr(self):
#     def script_parts(self):
#     def __eq__(self, other):
#     def __repr__(self):
#     def update(self, **kwargs):
#     def from_raw_script(cls, raw_script):
#     def __init__(self, name, match, get_new_command,
#                  enabled_by_default, side_effect,
#                  priority, requires_output):
#     def __eq__(self, other):
#     def __repr__(self):
#     def from_path(cls, path):
#     def is_enabled(self):
#     def is_match(self, command):
#     def get_corrected_commands(self, command):
#     def __init__(self, script, side_effect, priority):
#     def __eq__(self, other):
#     def __hash__(self):
#     def __repr__(self):
#     def _get_script(self):
#     def run(self, old_cmd):
# 
# Path: thefuck/const.py
# DEFAULT_PRIORITY = 1000


# Path: tests/utils.py
from thefuck import types
from thefuck.const import DEFAULT_PRIORITY



class Rule(types.Rule):
    def __init__(self, name='', match=lambda *_: True,
                 get_new_command=lambda *_: '',
                 enabled_by_default=True,
                 side_effect=None,
                 priority=DEFAULT_PRIORITY,
                 requires_output=True):
        super(Rule, self).__init__(name, match, get_new_command,
                                   enabled_by_default, side_effect,
                                   priority, requires_output)


class CorrectedCommand(types.CorrectedCommand):

    def __init__(self, script='', side_effect=None, priority=DEFAULT_PRIORITY):