Skip to content

DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.

fix lint

Pancakeffac38b8f364
diff --git a/assets/releases/ver0-5-2.md b/assets/releases/ver0-5-2.md
index 3ea0b62dd..a6bb3d4d3 100644
--- a/assets/releases/ver0-5-2.md
+++ b/assets/releases/ver0-5-2.md
@@ -24,4 +24,4 @@ Refactored the logging system for better management:
- Fixed several bugs affecting user experience
- Improved CI/CD workflows with Python 3.10/3.11 matrix testing
-**Full Changelog**: https://github.com/HKUDS/DeepTutor/compare/v0.5.1...v0.5.2
\ No newline at end of file
+**Full Changelog**: https://github.com/HKUDS/DeepTutor/compare/v0.5.1...v0.5.2
diff --git a/pyproject.toml b/pyproject.toml
index ffb36c415..ed5841113 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -159,7 +159,8 @@ split-on-trailing-comma = true
# ============================================
[tool.ruff.lint.per-file-ignores]
# Allow longer lines in test files
-"**/test_*.py" = ["E501", "PLR2004"]
+# F401: Allow unused imports for availability checks in tests
+"**/test_*.py" = ["E501", "PLR2004", "F401"]
"**/__init__.py" = ["F401"] # Allow unused imports in __init__.py
# ============================================