Setup LSP and clear all lint
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user