bump ruff to 0.16

This commit is contained in:
imperosol
2026-07-26 19:46:03 +02:00
parent 2d75a3e6c2
commit 3be4c583f1
11 changed files with 64 additions and 65 deletions
+3 -2
View File
@@ -147,14 +147,15 @@ Voici quelques exemples :
env = Env()
env.read_env()
async def main():
async with aiohttp.ClientSession(
base_url="https://ae.utbm.fr/api/",
headers={"X-APIKey": env.str("API_KEY")}
base_url="https://ae.utbm.fr/api/", headers={"X-APIKey": env.str("API_KEY")}
) as session:
async with session.get("club/1") as res:
print(await res.json())
asyncio.run(main())
```