# Portail Infra — mise config # https://mise.jdx.dev [tools] python = "3.13" uv = "latest" [env] # Port par défaut du serveur (surchargé par l'argument CLI de server.py) PORT = "8000" [tasks.run] description = "Lancer le serveur du portail (CMDB + Certificats + Switch)" run = "uv run server.py {{arg(name='port', default='')}}" [tasks.dev] description = "Lancer le serveur en watch (redémarre à chaque modif .py)" run = "uv run --with watchfiles watchfiles 'python server.py' server.py cmdb" [tasks.clean] description = "Nettoyer les caches Python" run = "find . -type d -name __pycache__ -prune -exec rm -rf {} + ; rm -rf .ruff_cache"