mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
3aa0bd1c04
- Replace hardcoded API_KEY with os.getenv('TEST_API_KEY')
- Replace hardcoded HF_TOKEN with os.getenv('TEST_HF_TOKEN')
- Replace hardcoded API_BASE with os.getenv('TEST_API_BASE')
- Replace hardcoded MODEL with os.getenv('TEST_MODEL')
- Add test credentials patterns to .gitignore
- Fixes GitHub Security Alert #8 (py/clear-text-storage-sensitive-data)
Sensitive data is now loaded from environment variables instead of clear text.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
89 lines
865 B
Plaintext
89 lines
865 B
Plaintext
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
wheels/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Virtual environments
|
|
venv/
|
|
ENV/
|
|
env/
|
|
.venv/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# Testing
|
|
.pytest_cache/
|
|
.coverage
|
|
htmlcov/
|
|
.tox/
|
|
.nox/
|
|
|
|
# Logs
|
|
*.log
|
|
log/
|
|
|
|
# Cache
|
|
pickle_cache/
|
|
prompt_cache.db
|
|
.cache/
|
|
|
|
# Generated/processed data
|
|
git_ignore_folder/
|
|
data_raw/
|
|
|
|
# Build artifacts
|
|
*.manifest
|
|
*.spec
|
|
|
|
# Local scripts (generated)
|
|
convert_1min.py
|
|
import_1min_qlib.py
|
|
|
|
# Results (Backtesting, Factors, Runs)
|
|
results/
|
|
*.db
|
|
*.csv
|
|
*_export.json
|
|
*.h5
|
|
|
|
# Documentation (generated)
|
|
QWEN.md
|
|
|
|
# AI Agent Files (generated by Qwen Code)
|
|
.qwen/
|
|
|
|
# Internal documentation (not for public)
|
|
TODO.md
|
|
|
|
# Test credentials
|
|
.env.test
|
|
*.test.env
|
|
test_credentials.py
|