There are differences with regards to the versions of Python that are
verified (somehow) through Pylint, and the ones that are advertised.
Given that there's no pinning of Pylint versions, it shouldn't be
possible to use it on Python versions such as 3.5 and 3.6 (latest
Pylint doesn't support those). With that, let's cover all the
currently supported Python versions.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
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>
Installation with setup.py fails on missing yaml package, which should
be installed by "install_requires" but this also does not work because
podman_compose.__version__ also needs yaml.
Put all the Python dependencies into separate files:
- requirements.txt
- test-requirements.txt