Exemplo n.º 1
0
 def styleOptions(self):
     options = StyleOptions(self)
     options.addOption('wrapPositions',
                       ("position(s) at which wrapping is to occur; 'n' "
                        "is after the nth comma."))
     options.addOption(
         'justification',
         ("if any wrap positions are set, justify to the 'left', "
          "'center', or 'right'"))
     return options
Exemplo n.º 2
0
 def styleOptions(self):
     options = StyleOptions(self)
     options.addOption(
         'wrapPositions',
         "position(s) at which wrapping is to occur; '2 n - 1' is after the nth operand, '2 n' is after the nth operation."
     )
     options.addOption(
         'justification',
         "if any wrap positions are set, justify to the 'left', 'center', or 'right'"
     )
     return options
Exemplo n.º 3
0
 def styleOptions(self):
     options = StyleOptions(self)
     options.addOption('operation',
                       ("'infix' or 'function' style formatting"))
     options.addOption(
         'wrapPositions',
         ("position(s) at which wrapping is to occur; '2 n - 1' "
          "is after the nth operand, '2 n' is after the nth "
          "operation."))
     options.addOption(
         'justification',
         ("if any wrap positions are set, justify to the 'left', "
          "'center', or 'right'"))
     return options