Skip to content

Commit

Permalink
Fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Nov 2, 2024
1 parent 3601d0e commit 64a4ada
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mmdiary/notion/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(
api_key,
audio_db_id,
video_db_id,
*,
force_update=False,
dry_run=False,
):
Expand Down Expand Up @@ -196,7 +197,9 @@ def __prop_rich_text(self, text):
],
}

def __add_row(self, db_id, title, date, source, processtime, icon, provider=None, account=None):
def __add_row(
self, db_id, *, title, date, source, processtime, icon, provider=None, account=None
):
properties = {
"title": {"title": [{"text": {"content": title}}]},
"Date": {"type": "date", "date": {"start": date}},
Expand Down

0 comments on commit 64a4ada

Please sign in to comment.