Defer evaluating required=True
on labm8.app flags until main method execution
#44
Labels
required=True
on labm8.app flags until main method execution
#44
Currently, flags declared as
required
are checked during initial module evaluation. This is extremely awkward for things like unit tests files, as importing the module causes the flag presence to be checked.One possible solution would be to evaluate whether a required flag is set directly before
app.Run
evaluates a user method.The text was updated successfully, but these errors were encountered: