pre-commit: Add codespell and other checks (#263)

This commit is contained in:
Christian Clauss
2022-05-06 23:23:14 +02:00
committed by GitHub
parent 990b0b2797
commit fadb4a67e7
9 changed files with 69 additions and 28 deletions

View File

@@ -1,6 +1,5 @@
from datetime import datetime as dt
from js import console
from utils import add_class, remove_class
tasks = []
@@ -27,7 +26,8 @@ def add_task(*ags, **kws):
tasks.append(task)
# add the task element to the page as new node in the list by cloning from a template
# add the task element to the page as new node in the list by cloning from a
# template
task_html = task_template.clone(task_id, to=task_list)
task_html_content = task_html.select("p")
task_html_content.element.innerText = task["content"]