Asynchronous script that downloads the HEAD contents of the repository https://gitea.radium.group/radium/project-configuration in a temporary folder of 3 streams. After performing all asynchronous tasks, the script counts sha256 hashes from each downloaded file.
The code passes the wemake-python-style guide linter check without any comments. Nitpick configuration - https://gitea.radium.group/radium/project-configuration
Tests are written for the script on Pytest
git clone https://github.com/Imwisagist/Radium.git && cd Radium/
pip install poetry
poetry install
poetry run python main.py
poetry run flake8 main.py
poetry run pytest -vv
poetry run pytest --cov-report term-missing --cov=gitea_downloader --cov-report xml