salt/tasks
Pedro Algarvio 4aad0d2e37 Annotate the sources instead of commenting on the PR
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-01-13 16:08:08 +00:00
..
__init__.py Also check for proper versionadded versions 2021-08-19 07:31:52 -04:00
docs.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
docstrings.py Annotate the sources instead of commenting on the PR 2023-01-13 16:08:08 +00:00
filemap.py Update to isort 5.10.1 2022-08-01 12:49:16 -06:00
loader.py Update to isort 5.10.1 2022-08-01 12:49:16 -06: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