ENH: Add a @pytask.mark.task
decorator to mark functions as tasks irrespective of the name.
#175
Labels
@pytask.mark.task
decorator to mark functions as tasks irrespective of the name.
#175
Is your feature request related to a problem?
Currently, task functions must be prefixed with
task_
to be considered by pytask which is an unnecessary limitation as some user might prefer a different naming scheme.For modules, the limitation is basically lifted since setting the configuration option
task_files
to*
would basically collect all files.Describe the solution you'd like
A decorator
pytask.mark.task
which optionally accepts a string which is the task id of the task.The text was updated successfully, but these errors were encountered: