📖 Read the documentation!
"Module main."
import asyncio
import logging
async def main() -> int:
"Main function."
logger = logging.getLogger(__name__)
logger.info("Hello world from $$REPO$$.")
return 0
if __name__ == "__main__":
asyncio.run(main())
Requirements:
Install mise then run mise run init
to setup python, poetry, and install dependencies.
This repository uses mise for tool and task management.
List all available commands with mise tasks
.
Run all pull request checks locally with mise run pr
This repository uses poetry for python package management.
poetry install --sync
install/update dependencies.poetry add
add a dependency ie.poetry add black
.poetry add -D
add a development dependency ie.poetry add -D black
.poetry remove
remove a dependency ie.poetry remove black
.poetry shell
activate the python virtual environment for access to installed packages.exit
exit the python virtual environment.