Setup LSP and clear all lint

This commit is contained in:
Christopher T. Johnson
2024-03-11 17:06:25 -04:00
parent 4ef4fc7d07
commit 7f01c8d040
8 changed files with 55 additions and 100 deletions

View File

@@ -1,12 +1,11 @@
import json
import os
import xml.dom.minidom
from typing import Dict, List, cast
from PyQt6.QtCore import QCoreApplication
from PyQt6.QtSql import QSqlQuery
from main import query_error
from lib import query_error
class Book:
@@ -130,7 +129,6 @@ class Book:
query.bindValue(":content", section)
if not query.exec():
query_error(query)
section_id = query.lastInsertId()
return book_id
def parse_section(self, src: str, href: str) -> None: