tomasohara / mezcla

Upgrade to misc-utility: miscellaneous python utility scripts developed for various projects over the years,
GNU Lesser General Public License v3.0
3 stars 1 forks source link

errors in testing template for the example tests #77

Open tomasohara opened 6 months ago

tomasohara commented 6 months ago

The testing template for the example tests has some garbled text:

$ python ~/mezcla/examples/tests/template.py
  File "/home/tomohara/mezcla/examples/tests/template.py", line 42
    mezcla.
IndentationError: unexpected indent

Any template should be runnable for the sake of keeping it clean with respect to pylint.

tomasohara commented 5 months ago

Also cut-n-paste fix typo:

    main_app = Main(description=__doc__.format(script=gh.basename(__file__)),
                    ## TODO: boolean_options=[(TODO_BOOL_OPT1, "TODO desc1")]
                    ## TODO: boolean_options=[(TODO_TEXT_OPT1, "TODO desc1")]
                    ##       ^^^^^^^ => text

It might be good to add a check somewhere for likely cut-n-paste errors.