Commit graph

91 commits

Author SHA1 Message Date
868eebad2a Main: refactor, wire switch to modEnabled property 2025-05-23 02:03:11 +02:00
454c761a9d QModListModel: rename enabled to modEnabled
enabled seems to conflict with some builtin qml value
2025-05-23 02:00:43 +02:00
0850a23b35 Mod: read toml with get() 2025-05-23 01:50:27 +02:00
54dedaba5d Mod: fix enabled property 2025-05-23 01:47:19 +02:00
de7ebe2e51 Mod: add type annotations 2025-05-23 01:42:14 +02:00
0a52a6fcc9 List mods from QModListModel instead of hardcoded list 2025-05-23 01:01:33 +02:00
6061590270 Move source code to src/leek
This makes the package work again
2025-05-23 00:31:14 +02:00
1a626fddff Fix __main__.py 2025-05-22 15:34:37 +02:00
0a5cb83274 Add qml mod list model 2025-05-22 12:40:21 +02:00
049acf68be Mod: throw InvalidModError when config.toml doesn't exist 2025-05-19 22:24:04 +02:00
dce9e5fcdc Properly set application name and desktop file 2025-05-16 19:33:18 +02:00
620acbeb30 Add basic mod listing 2025-05-16 17:19:40 +02:00
ef25e8a026 Mod: make mypy happy
Moved the enabled setter next to the property, and made type hints
more accurate
2025-05-14 17:37:13 +02:00
3a8406cb19 Mod: return enabled as a bool instead of str 2025-05-14 17:33:59 +02:00
8349e4f340 Add src to mypy path 2025-05-14 17:23:06 +02:00
fb81e2bd1f Make ruff happier 2025-05-14 16:25:30 +02:00
9d4b229b44 Enable more ruff rules 2025-05-14 16:12:45 +02:00
64fd7d47e6 Set minimum supported python version 2025-05-14 16:03:34 +02:00
d53fe7160f Ignore missing type info from pyside 2025-05-14 14:50:46 +02:00
bc6c17b940 Flake: add mypy and pylsp-mypy 2025-05-13 21:00:06 +02:00
b5c6b33c68 Flake: make shell with no compiler 2025-05-11 14:57:57 +02:00
a549e9a99c Add Mod class 2025-05-07 00:17:46 +02:00
796f0aa209 Add dependencies to pyproject, add tomlkit 2025-05-07 00:16:25 +02:00
34cf1da185 Update gitignore 2025-05-07 00:13:44 +02:00
010deddc8e Set desktop file and app name 2025-05-06 20:19:00 +02:00
02621b79aa Flake: replace c++ tooling with python tooling in devshell 2025-05-06 16:41:13 +02:00
34b8610432 Revert "Temporarely disable direnv"
This reverts commit aaa6df32b4.
2025-05-06 16:36:09 +02:00
6a4272502e Add nix package 2025-05-06 16:25:12 +02:00
1575222c9d Rename main.py, fix qml path 2025-05-06 16:22:21 +02:00
786be23b6e Make project importable 2025-05-06 13:11:03 +02:00
792ee5c281 Turn into python project 2025-05-06 13:08:25 +02:00
404d8e0f18 Add python code 2025-05-06 12:55:40 +02:00
3707c44450 Update gitignore 2025-05-06 12:46:32 +02:00
aaa6df32b4 Temporarely disable direnv 2025-05-06 12:39:42 +02:00
3412339fe5 Remove cmake files and c++ code 2025-05-06 12:37:41 +02:00
e395ca8f09 Update gitignore 2025-04-27 23:43:37 +02:00
400f7a6c23 Add basic code 2025-04-27 23:42:20 +02:00
6103876e04 Update nix lock file 2025-04-24 12:11:30 +02:00
074616090a Add direnv configuration 2025-04-21 14:30:45 +02:00
af078470fa Add nix flake with devshell 2025-04-21 14:29:33 +02:00
6f9e2a393a Initial commit 2025-04-21 14:10:17 +02:00