dso._lint.DSO001#

class dso._lint.DSO001#

In a quarto stage, ensure dso::read_params is called and stage name is correct

Attributes table#

Methods table#

check(file)

Check that the file passes the linting step.

is_applicable(file)

Check if the rule is applicable to file.

Attributes#

DSO001.PATTERN = '.*\\.qmd'#

Methods#

classmethod DSO001.check(file)#

Check that the file passes the linting step.

classmethod DSO001.is_applicable(file)#

Check if the rule is applicable to file.

Return true, if “dso exec quarto” is found in the dvc.yaml associated with this stage AND the file matches the pattern

Return type:

bool