mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
fix format
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
6756690401
commit
f9ea7661d2
1 changed files with 9 additions and 9 deletions
|
|
@ -1,15 +1,15 @@
|
||||||
import json
|
|
||||||
import os
|
|
||||||
import logging
|
|
||||||
import base64
|
import base64
|
||||||
import openapi_client as pt
|
|
||||||
from pathlib import Path
|
|
||||||
import time
|
|
||||||
import glob
|
|
||||||
import aenum
|
|
||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
|
import glob
|
||||||
|
import json
|
||||||
|
import logging
|
||||||
|
import os
|
||||||
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
import aenum
|
||||||
|
import openapi_client as pt
|
||||||
|
|
||||||
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s %(levelname)s %(message)s")
|
logging.basicConfig(level=logging.DEBUG, format="%(asctime)s %(levelname)s %(message)s")
|
||||||
logger = logging.getLogger("test_serialize")
|
logger = logging.getLogger("test_serialize")
|
||||||
|
|
@ -96,7 +96,7 @@ def match_rate(a, b, key=""):
|
||||||
return sum(data) / len(a)
|
return sum(data) / len(a)
|
||||||
if a == b:
|
if a == b:
|
||||||
return 1
|
return 1
|
||||||
return match_rate_zero(a, b, key=key)
|
return match_rate_zero(key)
|
||||||
|
|
||||||
|
|
||||||
def save_cache(data):
|
def save_cache(data):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue