87f2845483
- Cleaned up whitespace and formatting in various files including http.py, language.py, logger.py, safe_exec.py, and SQL migration scripts. - Consolidated import statements and removed unnecessary blank lines. - Updated logging configuration for better clarity. - Enhanced the safe execution code with improved error handling and logging. - Removed commented-out code and unnecessary variables in backfill_zero_trades.py and other scripts. - Added a pyproject.toml for Ruff and Vulture configuration. - Introduced requirements-dev.txt for development dependencies. - Removed commented-out stock entries in init.sql for cleaner migration scripts.
26 lines
577 B
Python
26 lines
577 B
Python
"""
|
|
Configuration module
|
|
Export all configurations uniformly
|
|
"""
|
|
|
|
from app.config.api_keys import APIKeys
|
|
from app.config.data_sources import CCXTConfig, DataSourceConfig, FinnhubConfig, TiingoConfig, YFinanceConfig
|
|
from app.config.database import CacheConfig, RedisConfig
|
|
from app.config.settings import Config
|
|
|
|
__all__ = [
|
|
# main configuration
|
|
"Config",
|
|
# API key
|
|
"APIKeys",
|
|
# Database/cache
|
|
"RedisConfig",
|
|
"CacheConfig",
|
|
# data source
|
|
"DataSourceConfig",
|
|
"FinnhubConfig",
|
|
"TiingoConfig",
|
|
"YFinanceConfig",
|
|
"CCXTConfig",
|
|
]
|