aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sim_pipeline.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 14:19:29 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 18:25:58 -0700
commit956e64f47f7d47f2539cd6575c25ec0b6a33e567 (patch)
treeb6775a940f21b3dabdd3e7de3398c2da874914fd /fatcat_scholar/sim_pipeline.py
parent02249d03d086e71a589733280a2f5e32990f72b1 (diff)
downloadfatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.tar.gz
fatcat-scholar-956e64f47f7d47f2539cd6575c25ec0b6a33e567.zip
re-style imports (isort) on all core python files
Diffstat (limited to 'fatcat_scholar/sim_pipeline.py')
-rw-r--r--fatcat_scholar/sim_pipeline.py17
1 files changed, 7 insertions, 10 deletions
diff --git a/fatcat_scholar/sim_pipeline.py b/fatcat_scholar/sim_pipeline.py
index aa6f4da..9157852 100644
--- a/fatcat_scholar/sim_pipeline.py
+++ b/fatcat_scholar/sim_pipeline.py
@@ -1,21 +1,18 @@
+import argparse
import io
-import sys
import sqlite3
-import argparse
-from typing import List, Dict, Optional, Any
-import urllib3.exceptions
+import sys
+from typing import Any, Dict, List, Optional
+import internetarchive
import requests
import sentry_sdk
-import internetarchive
+import urllib3.exceptions
-from fatcat_scholar.config import settings, GIT_REVISION
+from fatcat_scholar.config import GIT_REVISION, settings
from fatcat_scholar.djvu import djvu_extract_leaf_texts
from fatcat_scholar.issue_db import IssueDB
-from fatcat_scholar.schema import (
- DocType,
- IntermediateBundle,
-)
+from fatcat_scholar.schema import DocType, IntermediateBundle
def truncate_pub_meta(full: Dict[str, Any]) -> Dict[str, Any]: