autoflake
This commit is contained in:
parent
52238ad9ae
commit
b8b8e42b8e
@ -1,4 +1,3 @@
|
|||||||
from itertools import chain
|
|
||||||
|
|
||||||
from dict_dl import Queue, WordParser, ot, rb, uq, uqall, only_first_text
|
from dict_dl import Queue, WordParser, ot, rb, uq, uqall, only_first_text
|
||||||
|
|
||||||
|
3
d.py
3
d.py
@ -1,10 +1,7 @@
|
|||||||
#!/bin/python
|
#!/bin/python
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from itertools import zip_longest
|
|
||||||
|
|
||||||
from rich.console import Console
|
|
||||||
from rich.table import Table
|
|
||||||
|
|
||||||
from dict_dl import DictFile
|
from dict_dl import DictFile
|
||||||
|
|
||||||
|
3
main.py
3
main.py
@ -1,8 +1,7 @@
|
|||||||
import random
|
import random
|
||||||
from pathlib import Path
|
|
||||||
|
|
||||||
import uvicorn
|
import uvicorn
|
||||||
from fastapi import FastAPI, Response
|
from fastapi import FastAPI
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
from sqlmodel import Session, select, text
|
from sqlmodel import Session, select, text
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
from dict_dl import Queue, WordParser, cw, ot, rb, uq, uqall
|
from dict_dl import Queue, WordParser, cw, ot, rb, uq, uqall
|
||||||
import itertools
|
|
||||||
|
|
||||||
|
|
||||||
class MerriamWebsterParser(WordParser):
|
class MerriamWebsterParser(WordParser):
|
||||||
|
@ -6,7 +6,7 @@ from time import sleep
|
|||||||
from urllib.parse import urlparse
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
from requests_html import HTMLSession
|
from requests_html import HTMLSession
|
||||||
from sqlmodel import Field, Relationship, Session, SQLModel, create_engine, select, Column, ARRAY, String
|
from sqlmodel import Field, Session, SQLModel, create_engine, select, Column, ARRAY, String
|
||||||
|
|
||||||
with open("db.secrets", "r") as f:
|
with open("db.secrets", "r") as f:
|
||||||
db_pass = f.readline().strip()
|
db_pass = f.readline().strip()
|
||||||
|
Loading…
Reference in New Issue
Block a user