yamllint
yamllint copied to clipboard
Implement yamllint in code
I would like to import the package and pass a file to a function to have it lint the file, without using command line.
For example,
import yamllint
linted_file = yamllint.lint('path/to/file.yaml', config, otherArgs)
Can this functionality be exposed in this kind of interface since I am sure this already exists under the hood?
@bpgould check out the docs for the module