Go to file
Krzysztof kuhy Rudnicki 2ef6de9702 feat(tests): improve keyboard_coop test coverage to 97%
- Add test for JSONDecodeError fallback dictionary loading
- Add test for game initialization (__init__)
- Add tests for handle_click on letter, enter button, and reset button
- Add tests for drawing methods (_draw_text_line, _draw_button, _draw_keyboard, _draw_ui)
- Add extensive tests for game loop (run) covering:
  - QUIT event handling
  - Mouse click events
  - ENTER key submission
  - R key reset
  - Letter key presses
  - Right click ignored
  - Special key ignored
  - Unknown event type ignored

Coverage improved from 58% to 97%. Remaining uncovered lines are:
- Line 351: Unreachable defensive code (force submit when no moves)
- Lines 398-404: Unreachable dead code (hover color branch)
2025-12-01 20:10:41 +01:00
.github/workflows refactor: rename folders to fix N999, INP001, S311 linting rules 2025-11-30 21:20:17 +01:00
.vscode fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
articles fix(lint): convert os.path to pathlib - remove PTH per-file ignores 2025-11-30 23:03:03 +01:00
Bash/ffmpeg-build fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
C fix: resolve shellcheck warnings 2025-11-30 13:48:17 +01:00
CPP fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
LaTeX fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
poker_modifier_app fix(lint): LOG015 - replace root logger with module loggers 2025-11-30 21:59:24 +01:00
python_pkg feat(tests): improve keyboard_coop test coverage to 97% 2025-12-01 20:10:41 +01:00
sonic_pi feat: accept first argument as audio by defauilt sonic pi 2025-10-26 16:33:37 +01:00
TS fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
.gitignore feat: added ffmpeg bin to gitignore 2025-11-30 14:12:22 +01:00
.pre-commit-config.yaml fix(lint): All pre-commit hooks pass (Group 6 + Config fixes) 2025-11-30 13:59:21 +01:00
LICENSE chore: updated Licenses 2024-09-11 15:02:50 +02:00
lint_python.sh fix: resolve shellcheck warnings 2025-11-30 13:48:17 +01:00
pyproject.toml refactor: clean up pyproject.toml - remove defaults and redundant configs 2025-12-01 16:33:42 +01:00
pytest.ini feat: C engine 2025-09-06 18:26:31 +02:00
requirements-dev.txt fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
requirements.txt refactor: clean up pyproject.toml - remove defaults and redundant configs 2025-12-01 16:33:42 +01:00
test_input_clean.wav fix: getting rnnoise model 2025-10-12 18:57:55 +02:00
test_input.wav fix: getting rnnoise model 2025-10-12 18:57:55 +02:00