Fix linting
This commit is contained in:
parent
c8ecfa2d68
commit
dbfcf30801
2 changed files with 4 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ from .operate import (
|
|||
naive_query,
|
||||
query_with_keywords,
|
||||
)
|
||||
from .prompt import GRAPH_FIELD_SEP, PROMPTS
|
||||
from .prompt import GRAPH_FIELD_SEP
|
||||
from .utils import (
|
||||
Tokenizer,
|
||||
TiktokenTokenizer,
|
||||
|
|
|
|||
|
|
@ -165,7 +165,9 @@ def setup_logger(
|
|||
|
||||
# Get log file max size and backup count from environment variables
|
||||
log_max_bytes = get_env_value("LOG_MAX_BYTES", DEFAULT_LOG_MAX_BYTES, int)
|
||||
log_backup_count = get_env_value("LOG_BACKUP_COUNT", DEFAULT_LOG_BACKUP_COUNT, int)
|
||||
log_backup_count = get_env_value(
|
||||
"LOG_BACKUP_COUNT", DEFAULT_LOG_BACKUP_COUNT, int
|
||||
)
|
||||
|
||||
try:
|
||||
# Add file handler
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue