Pedro Algarvio 5f4ed3b3f4 Allow running the pre-commit jenkins job in GH Actions 4 роки тому
..
README.md a5b9961f78 Lay the ground for `invoke` usage 4 роки тому
__init__.py 7e7cbf3ffa Switch to the remove-import-headers pre-commit hook 4 роки тому
docs.py dfddc15569 Resolve paths passed directly with `--files` 4 роки тому
filemap.py e6e1ab3ef6 Add task to check `tests/filename_map.yml` validity 4 роки тому
loader.py f6c2355f33 Add loader checks although not currently enforcing them 4 роки тому
utils.py 5f4ed3b3f4 Allow running the pre-commit jenkins job in GH Actions 4 роки тому

README.md

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