2 Yar. Matey, A quick and dirty linter for salt.
5 - some parameters take either a string or a list
8 <salt-state>.<function>:
9 - <global-parameter>: value
10 - <parameter>: <value>
15 - <global-parameter> : value
16 - <parameter>: <value>
19 - Validate common salt-state / warn if an unexpected one is seen
22 - Validate state/function combo / warn on unexpected combos
23 - Complain about duplicate state/function combos.
24 - Complain about mutually exclusive fields (for example 'contents' and 'source' from file.manage)
27 - Validate function parameter names
28 - Include global parameters like require, unless etc (https://docs.saltstack.com/en/latest/ref/states/requisites.html)
29 - Report on missing mandatory parameters (though salt will likely error on this already)
32 - Validate function argument types
33 - How to handle 'string or list' type args ?
34 - Complain about duplicate parameters
35 - Complain about unexpected parameters
38 - Handle includes (wrt duplicate state/functions)
44 - Validate common module.run <salt-module>.<function> combos
47 - Validate common module.run parameters
50 =====================================
52 > virtualenv --python=python3.6 env
53 > source ./env/bin/activate
54 > pip3 install -r requirements.txt
55 > python3 setup.py develop
58 > python setup.py sdist