salt/tasks
2022-06-02 12:16:30 -06:00
..
__init__.py Also check for proper versionadded versions 2021-08-19 07:31:52 -04:00
docs.py Move the salt loader `log_handlers` out of the internal logging package 2022-04-12 09:46:02 -04:00
docstrings.py Update 'MISSING_EXAMPLES' in pre-commit docstrings task 2022-06-02 12:16:30 -06:00
filemap.py Fix strings 2021-08-06 13:09:47 -07:00
loader.py Also check for proper versionadded versions 2021-08-19 07:31:52 -04:00
README.md Lay the ground for invoke usage 2020-04-23 18:42:47 +01:00
utils.py Allow running the pre-commit jenkins job in GH Actions 2020-11-30 14:20:56 -07:00

What is this directory?

This directory contains python scripts which should be called by invoke.

Instead of having several multi-purpose python scripts scatered through multiple paths in the salt code base, we will now concentrate them under an invoke task.

Calling Invoke

Invoke can be called in the following ways.

Installed system-wide

If invoke is installed system-wide, be sure you also have blessings installed if you want coloured output, although it's not a hard requirement.

inv docs.check

Using Nox

Since salt already uses nox, and nox manages virtual environments and respective requirements, calling invoke is as simple as:

nox -e invoke -- docs.check