Fix linting
This commit is contained in:
@@ -57,7 +57,7 @@ from .operate import (
|
|||||||
naive_query,
|
naive_query,
|
||||||
query_with_keywords,
|
query_with_keywords,
|
||||||
)
|
)
|
||||||
from .prompt import GRAPH_FIELD_SEP, PROMPTS
|
from .prompt import GRAPH_FIELD_SEP
|
||||||
from .utils import (
|
from .utils import (
|
||||||
Tokenizer,
|
Tokenizer,
|
||||||
TiktokenTokenizer,
|
TiktokenTokenizer,
|
||||||
|
@@ -165,7 +165,9 @@ def setup_logger(
|
|||||||
|
|
||||||
# Get log file max size and backup count from environment variables
|
# 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_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:
|
try:
|
||||||
# Add file handler
|
# Add file handler
|
||||||
|
Reference in New Issue
Block a user