/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_help.py

  • Committer: Martin
  • Date: 2018-11-18 19:48:57 UTC
  • mto: This revision was merged to the branch mainline in revision 7205.
  • Revision ID: gzlist@googlemail.com-20181118194857-mqty4xka790jf934
Fix remaining whitespace lint in codebase

Enables rules W191, W291, W293, and W391 for flake8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
        """Concise help text excludes the descriptive sections."""
205
205
        class cmd_Demo(commands.Command):
206
206
            __doc__ = """A sample command.
207
 
 
 
207
 
208
208
            Blah blah blah.
209
209
 
210
210
            :Examples:
211
211
                Example 1::
212
 
 
 
212
 
213
213
                    cmd arg1
214
214
            """
215
215
        cmd = cmd_Demo()
429
429
        # The help formatter expect the class name to start with 'cmd_'
430
430
        class cmd_Demo(commands.Command):
431
431
            __doc__ = """A sample command.
432
 
 
 
432
 
433
433
            Blah blah blah.
434
434
 
435
435
            :Formats:
437
437
 
438
438
            :Examples:
439
439
              Example 1::
440
 
 
 
440
 
441
441
                cmd arg1
442
442
 
443
443
            :Tips:
455
455
}}
456
456
Description:
457
457
  zz{{zz{{Blah blah blah.}}
458
 
 
 
458
 
459
459
}}:Formats:
460
460
  zz{{Interesting stuff about formats.}}
461
 
 
 
461
 
462
462
Examples:
463
463
  zz{{Example 1::}}
464
 
 
 
464
 
465
465
    zz{{cmd arg1}}
466
 
 
 
466
 
467
467
Tips:
468
468
  zz{{Clever things to keep in mind.}}
469
 
 
 
469
 
470
470
''',
471
471
                           cmd_Demo())
472
472