""" Some example rules for the test suite. """


def wat_rule(config, message):
    return message['wat'] == 'blah'


def not_wat_rule(config, message):
    return message['wat'] != 'blah'

""" Some example rules for the test suite. """

import fmn.lib.hinting


def wat_rule(config, message):
    return message['wat'] == 'blah'


def not_wat_rule(config, message):
    return message['wat'] != 'blah'


@fmn.lib.hinting.hint(categories=['whatever'])
def hint_masked_rule(config, message, argument1):
    """ This is a docstring.

    For real, it is a docstring.
    """
    return True

Add example rule for test.
Add example rule for test.

  """ Some example rules for the test suite. """
+ 
+ import fmn.lib.hinting
  
  
  def wat_rule(config, message):
      return message['wat'] == 'blah'
  
  
  def not_wat_rule(config, message):
      return message['wat'] != 'blah'
  
+ 
+ @fmn.lib.hinting.hint(categories=['whatever'])
+ def hint_masked_rule(config, message, argument1):
+     """ This is a docstring.
+ 
+     For real, it is a docstring.
+     """
+     return True
+ 
Add example rule for test.
## Code Before:
""" Some example rules for the test suite. """


def wat_rule(config, message):
    return message['wat'] == 'blah'


def not_wat_rule(config, message):
    return message['wat'] != 'blah'

## Instruction:
Add example rule for test.
## Code After:
""" Some example rules for the test suite. """

import fmn.lib.hinting


def wat_rule(config, message):
    return message['wat'] == 'blah'


def not_wat_rule(config, message):
    return message['wat'] != 'blah'


@fmn.lib.hinting.hint(categories=['whatever'])
def hint_masked_rule(config, message, argument1):
    """ This is a docstring.

    For real, it is a docstring.
    """
    return True
