Black removes the burden of manual code formatting and is by now
considered the standard Python formatting tool.
https://black.readthedocs.io/en/stable/
Format all Python code with black.
GitHub linting action is updated to ensure all files are formatted with
Black.
Signed-off-by: Piotr Husiatyński <phusiatynski@gmail.com>
Adds support for -
- (1) Declared secrets with the file location.
- (2) Declared secrets with file location, mounted as a different named secret.
- (3) Declared secrets with file location, mounted at arbitrary location.
- (4) External secrets (type=mount), mounted as original secret name.
- (5) External secrets (type=mount), mounted as original secret name, with specified uid, gid and mode.
If no services are defined, podman-compose
crashes as services variable is None,
while the expected behavior might be
an error or the same as docker-compose, which will continue the
execution of the compose file (eg. creating networks, etc).
This commit fixes the crash and allows the program to continue, mimicking
docker-compose behavior.
- supports `ulimit: host` or other single value
- As well as `ulimit: [nofile=5000, nproc=5000]` array
- As well as `ulimit: {nofile: 5000, nproc: 5000}` dict
Authored-by: Tyler Ramer <tramer@pivotal.io>