user-cont / colin

Tool to check generic rules/best-practices for containers/images/dockerfiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support loading rulesets in yaml format

TomasTomecek opened this issue · comments

TODO:

  • use yaml.safe_load to deserialize ruleset file
  • update dependencies
  • update documentation

We can leave present rulesets in json.

David is suggesting to use yaml.load instead of json.load since json syntax is a subset of yaml.

I like it! Let's do that.

@TomasTomecek - good to know that also, when we add fmf fully also for rulesets, it will be there too in yaml format, see transformed default.yaml (little bit another format (fmf metadata)):
https://github.com/user-cont/colin/pull/161/files#diff-04c5db1604ad73f4f29fc77767540625