mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-10-04 23:26:26 +00:00
⚡️ Refactor LiteyukiBot structure and add configuration loading
- Updated .gitignore to include .pytest_cache - Replaced FastAPI with Daemon in main.py for bot execution - Enhanced pyproject.toml with new dependencies and dev group - Added iniconfig package for pytest configuration - Created initial structure for liteyukibot with context management - Implemented configuration loading functions for YAML, JSON, and TOML - Added tests for configuration loading with temporary files - Set up GitHub Actions for pytest testing on push and pull requests
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
[project]
|
||||
name = "liteyukibot"
|
||||
version = "7.0.0"
|
||||
description = "Add your description here"
|
||||
description = "neo-liteyukibot is coming soon!"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.12",
|
||||
"pydantic>=2.11.3",
|
||||
"pyyaml>=6.0.2",
|
||||
"uvicorn>=0.34.2",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"mypy>=1.15.0",
|
||||
"pytest>=8.3.5",
|
||||
"ruff>=0.11.7",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 80
|
||||
src = ["liteyukibot", "main.py"]
|
||||
|
Reference in New Issue
Block a user