mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
lint: Remove unused imports around the app
This commit is contained in:
parent
13c3650637
commit
91f543ff8d
14 changed files with 30 additions and 28 deletions
|
@ -47,10 +47,10 @@ def write_snapshot_to_index(snapshot: Model):
|
|||
|
||||
|
||||
@enforce_types
|
||||
def write_sql_main_index(links: List[Link], out_dir: Path=OUTPUT_DIR) -> None:
|
||||
def write_sql_main_index(snapshots: List[Model], out_dir: Path=OUTPUT_DIR) -> None:
|
||||
with transaction.atomic():
|
||||
for link in links:
|
||||
write_snapshot_to_index(link)
|
||||
for snapshot in snapshots:
|
||||
write_snapshot_to_index(snapshot)
|
||||
|
||||
|
||||
@enforce_types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue