Commit History
-
refactor: Optimize timeout values for improved test performance
9aaad62
-
style: Apply comprehensive ruff formatting across entire codebase
- Formatted 27 files with ruff formatter for consistent code style - Ensures all code follows unified formatting standards - Completes the migration from black/isort to ruff formattingdd82ad4 -
fix: Address critical ruff linting issues
- Fix SIM103: Return conditions directly in detect_custom_tokens.py - Fix SIM110: Use any() instead of for loop in detect_print_statements.py - Fix B018: Assign useless attribute access to variable in test_cleanup_old_sessions.py - Fix B011: Replace assert False with raise AssertionError - Fix B904: Add 'from None' to exception chaining in test_environment.py - Fix B008: Move gr.Progress() call inside function instead of default argument - Fix SIM103: Return bool condition directly in user_session.py - Fix mypy error: Add bool() cast to regex match return - Fix some line length violations in pre-commit hooks Remaining issues are mostly line length violations (E501) and minor style improvements that can be addressed in future commits.b467a25 -
feat: Migrate from isort, black, flake8 to ruff for unified linting and formatting
- Replace isort, black, flake8, autoflake with single ruff dependency - Configure ruff with equivalent settings for formatting, import sorting, and linting - Update Makefile commands to use 'ruff check' and 'ruff format' - Update pre-commit hooks to use ruff-pre-commit - Update VS Code tasks for new ruff commands - Update requirements.in and requirements-lint.txt dependencies - Format codebase with ruff (14 files reformatted) Benefits: - 10-100x faster than previous toolchain - Unified configuration in pyproject.toml - Additional linting rules (flake8-bugbear, flake8-simplify) - Reduced dependency count and simpler setup Note: Existing line length and linting issues will be addressed in follow-up commits6a48ef2
-
refactor: Clean up code formatting and improve readability across multiple files
e3c68ad
-
Refactor E2E test environment: consolidate setup and teardown logic into TestEnvironment class and update related fixtures
a5f7c58 -
Refactor unit tests for SessionManager and TextProcessor classes
2652f92
-
Refactor logger setup to remove file output and simplify configuration
34560e3
-
perf: E2Eテストの実行時間を短縮するための最適化
- Playwrightの待機処理を効率化 (time.sleepをpage.wait_for_functionに置換) - 各テストの待機時間とタイムアウトを最適化 - pytest-xdistによる並列実行のサポートを追加 - ポート管理機能を改善しテストの安定性を向上 - テスト実行時間が約55%短縮 (210秒→90秒)f299eab
-
PyMuPDF (fitz) の依存関係を削除し、VOICEVOXの初期化処理を改善
de0b32e