salt/tasks
Pedro Algarvio f2a783643d Update to latest `pyupgrade` hook. Stop skipping it on CI.
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2022-01-26 15:18:32 -08:00
..
__init__.py Also check for proper versionadded versions 2021-08-19 07:31:52 -04:00
docs.py Update to latest `pyupgrade` hook. Stop skipping it on CI. 2022-01-26 15:18:32 -08:00
docstrings.py Don't fail on known doc failures 2021-08-19 07:31:52 -04: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
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