Commit Graph

47 Commits

Author SHA1 Message Date
4c4e966e5f feat: great beautiful fixes 2026-02-20 01:17:53 +01:00
96eb511c83 feat: great beautiful fixes 2026-02-20 00:37:32 +01:00
Copilot
aa5b566ac5 Add pre-commit workflow and fix linting violations (#2)
* Initial plan

* Add pre-commit GitHub workflow and fix linting issues

- Created .github/workflows/pre-commit.yml to run pre-commit hooks in CI
- Fixed mypy type errors in translator.py
- Fixed shellcheck warning in run_anki_generator.sh
- Added per-file ignores for word_frequency module legacy code
- Applied auto-fixes from ruff, ruff-format, autoflake, prettier
- All pre-commit hooks now passing

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* Make Python scripts with shebangs executable

- Set executable bit for word_frequency module scripts with shebangs
- All 30 pre-commit hooks now passing

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

* Fix: Restore imports in check functions (autoflake-proof)

- Restored imports in _check_argos(), _check_deep_translator(), _check_langdetect()
- Used _ = module assignment to prevent autoflake from removing imports
- These imports test module availability by triggering ImportError if missing
- All 30 pre-commit hooks now passing

Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kuhyx <147418882+kuhyx@users.noreply.github.com>
2026-01-07 22:57:42 +01:00
2081993682 feat: added inverse mode for anki 2025-12-29 16:10:43 +01:00
3aefbe7978 feat: automatic language detection translation and anki generator with cache 2025-12-29 14:41:56 +01:00
272b8c56d0 feat: vocabulary curbe in C 2025-12-28 16:15:38 +01:00
f8823a7de1 fix: resolve shellcheck warnings
- lint_python.sh: remove unused VERBOSE variable, use OVERALL_STATUS for exit
- run_game.sh: add || exit after cd
- install_arch.sh/uninstall_arch.sh: separate local declaration and assignment
- lint.sh: use variable for pkg-config output to avoid word splitting
2025-11-30 13:48:17 +01:00
e3f9e6dc0b fix: correct shebang and executable permissions
- Add +x to Python scripts with shebangs (3 files)
- Remove -x from non-script files like .cpp, .txt, makefile (23 files)
- Move shebang to first line in C/imageViewer/lint.sh
2025-11-30 13:42:16 +01:00
c1390d4c18 fix: some linting issues 2025-11-01 20:11:45 +01:00
126bed59e8 feat: added linter for C 2025-11-01 19:18:53 +01:00
e56a691b22 chore: move Bash scripts to kuhyx/linux-configuration (preserve history via subtree); remove Bash/ from this repo 2025-11-01 16:38:38 +01:00
5a1ec40e1b feat: champions leauge server 2025-10-03 16:03:53 +02:00
e12f0c9021 wip: opening learner 2025-09-08 16:58:17 +02:00
175a2b256c feat: added lichess db puzzle to gitignore 2025-09-07 15:45:25 +02:00
749546fdb2 feat: failed attempt at solving more than 4 puzzles 2025-09-07 14:53:50 +02:00
f31ca68c26 feat: added micro max engine 2025-09-07 13:31:13 +02:00
51bc2a142e feat: engine passes 2 puzzles from lichess 2025-09-07 13:07:15 +02:00
5077091ba7 feat: added randomengine to gitignore binary 2025-09-06 18:27:15 +02:00
03f8a2a5ac feat: C engine 2025-09-06 18:26:31 +02:00
dd8763f30f feat: added script to extract links form html 2025-09-06 14:00:34 +02:00
b6fb50479f fix: left button drift 2025-08-24 13:23:58 +02:00
f91423c56c feat: remove the yellopw line 2025-08-24 13:19:50 +02:00
a28aeb6938 feat: sound effects 2025-08-24 13:17:58 +02:00
1601d7c368 feat: make the game have any sense at al 2025-08-24 13:14:47 +02:00
662b456332 feat: simple fps game 2025-08-24 13:11:24 +02:00
2be0f1f8a9 fix: most lint issues 2025-07-14 16:25:23 +02:00
0fc908f92d chore: made static functions static 2025-07-14 16:08:05 +02:00
f52d4f243a feat: wrap memcpy and sprintf executions into single function 2025-07-14 15:59:26 +02:00
894d134bc9 wip: questionable linting fixes 2025-07-14 15:29:01 +02:00
be301762ec chore: added linting to image veiwer 2025-07-14 15:14:19 +02:00
630dbeb40f feat: image taks as much space as possible, resize it automatically 2025-07-14 15:00:16 +02:00
714a2ab08b feat: load all image files in a folder when opening single image 2025-07-14 14:53:16 +02:00
b2d4ba3347 feat: added installation script for image viewer 2025-07-14 14:38:04 +02:00
a0a810c402 feat: some new features in image viewer 2025-07-09 18:31:21 +02:00
09f8f87003 feat: added simple image viewer 2025-07-09 18:05:59 +02:00
a4a3d4c6ac Merge branch 'main' of https://github.com/kuhyx/testsAndMisc 2024-11-14 20:53:05 +01:00
b8e3f0c577 wip: websocket server in C 2024-11-14 20:52:38 +01:00
acc6083476 feat: translated scrape website comics to C 2024-11-14 08:29:40 +01:00
44b34e916b feat: translated split into "C" 2024-11-14 08:29:39 +01:00
aaa8ea3bde chore: updated Licenses 2024-11-14 08:29:37 +01:00
82957e96f3 feat: generating images now flexes how fast it is 2024-11-14 08:29:30 +01:00
1e27936435 feat: initialize srand at the very beginning of program: 2024-11-14 08:29:28 +01:00
3ca85a92cc feat: split generate jpg into smalle functions 2024-11-14 08:29:25 +01:00
37bb313b11 feat: removed image size restriction 2024-11-14 08:29:21 +01:00
46e2100699 feat: added C generating random jpgs for max speed 2024-11-14 08:29:15 +01:00
94e9deec71 feat: move folder 2024-11-14 08:18:40 +01:00
88ac494fdf Adding miscelanious projects I have worked on for past years 2021-08-05 17:14:02 +02:00