From bd77ea09fea30a86af2b93244f8c0d72e755f86f Mon Sep 17 00:00:00 2001 From: Yax Date: Sun, 21 Dec 2025 15:59:21 +0100 Subject: [PATCH] Upd --- pyproject.toml | 4 +++- src/dumbremind/__main__.py | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index dde36b0..ecf92c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,9 @@ authors = [ ] requires-python = ">=3.13.1" dependencies = [ + "black>=25.12.0", "caldav>=2.0.1", + "isort>=7.0.0", "python-dotenv>=1.1.1", ] @@ -17,4 +19,4 @@ dumbremind = "dumbremind:main" [build-system] requires = ["uv_build>=0.8.17,<0.9.0"] -build-backend = "uv_build" \ No newline at end of file +build-backend = "uv_build" diff --git a/src/dumbremind/__main__.py b/src/dumbremind/__main__.py index f5bb16b..82a239e 100644 --- a/src/dumbremind/__main__.py +++ b/src/dumbremind/__main__.py @@ -6,14 +6,14 @@ this logs into a caldav server and get a digest of all of the events scheduled for next days. Good candidate to run from cron """ -import sys import os -from dotenv import load_dotenv - -from datetime import datetime, timedelta, date, time, timezone +import sys +from datetime import date, datetime, time, timedelta, timezone from os import environ from urllib.parse import quote_plus + import caldav +from dotenv import load_dotenv load_dotenv()