Johannes Kirschbauer
|
1aba0577dc
|
schemas: filter 'extraModules' from python classes and derived schemas
|
2025-10-24 16:57:26 +02:00 |
|
Johannes Kirschbauer
|
5a026eaf57
|
classgen: mute expected warning
|
2025-09-30 15:37:22 +02:00 |
|
Johannes Kirschbauer
|
5137d19b0f
|
nix_modules: fix and update None types
|
2025-08-31 15:58:39 +02:00 |
|
Jörg Thalheim
|
8ba8fda54b
|
RUF100: fix
|
2025-08-26 16:21:15 +02:00 |
|
Jörg Thalheim
|
c9a709783a
|
BLE001: fix
|
2025-08-26 12:01:47 +02:00 |
|
Jörg Thalheim
|
04457b1272
|
ARG001: fix
|
2025-08-25 14:46:12 +02:00 |
|
Jörg Thalheim
|
dc5485d9f1
|
ruff: replace asserts outside of tests with Exceptions
|
2025-08-25 13:06:04 +02:00 |
|
Jörg Thalheim
|
ea2d6aab65
|
ruff: apply automatic fixes
|
2025-08-25 11:34:41 +02:00 |
|
Qubasa
|
0d1e1d9796
|
treefmt/ruff: Set python lint version to 3.13. Fix all new lints coming up.
|
2025-07-04 17:11:31 +02:00 |
|
Johannes Kirschbauer
|
8aa957a012
|
Fix(classgen): support listOf union
|
2025-06-03 18:18:02 +02:00 |
|
Johannes Kirschbauer
|
7957fbaa4f
|
feat(classgen): make type generation more predictable across
|
2025-05-28 14:02:43 +02:00 |
|
Johannes Kirschbauer
|
0bf183b73b
|
fix(tests): use inventory store to interact with the inventory
|
2025-05-23 21:46:35 +02:00 |
|
lassulus
|
2de3dcef15
|
clan-cli: clan_cli.inventory -> clan_lib.inventory
|
2025-05-21 12:06:38 +02:00 |
|
Johannes Kirschbauer
|
026a088515
|
feat(classgen): add 'instances' as top level key
|
2025-05-20 16:10:32 +02:00 |
|
Johannes Kirschbauer
|
c86f39ba6b
|
feat(classgen): defer NotRequired type wrapper
|
2025-05-20 16:10:32 +02:00 |
|
Johannes Kirschbauer
|
9eeae6e229
|
feat(classgen): add support for unknown types
|
2025-05-20 16:10:25 +02:00 |
|
Johannes Kirschbauer
|
c61f318baa
|
Classgen: export field type definitions
|
2025-05-20 13:31:47 +02:00 |
|
Johannes Kirschbauer
|
12b88cd19b
|
feat(classgen): convert only certain attributes
|
2025-03-29 14:22:34 +01:00 |
|
Johannes Kirschbauer
|
ca1777fddc
|
fix(inventory/instances): fix jsonschema compatibility
|
2025-03-29 13:25:19 +01:00 |
|
Johannes Kirschbauer
|
aee7aaeebb
|
Fix(classgen): support number conversion from jsonschema
|
2025-03-25 19:27:01 +01:00 |
|
Johannes Kirschbauer
|
73f77b1ca3
|
formatting: make ruff happy with generated code
|
2024-12-06 21:06:41 +01:00 |
|
Johannes Kirschbauer
|
ddf44969b9
|
classgen: produce typedDict instead of dataclass
|
2024-12-06 18:51:20 +01:00 |
|
Jörg Thalheim
|
161475a249
|
classgen: better message how to update
|
2024-12-04 17:25:20 +01:00 |
|
Johannes Kirschbauer
|
16b0592d0f
|
Classgen: forward item types for array types
|
2024-11-08 13:20:45 +01:00 |
|
danjujan
|
75ffb4436e
|
pkgs: fix typos
|
2024-10-29 12:37:34 +00:00 |
|
Johannes Kirschbauer
|
e3d85fc2b8
|
API: type all services with dict[str,Any] in python to reduce complexity.
|
2024-09-12 16:19:51 +02:00 |
|
Johannes Kirschbauer
|
1a81c1f84b
|
API: remove all python dataclasses for clanModules (services)
|
2024-09-12 16:19:51 +02:00 |
|
Johannes Kirschbauer
|
42b92132a7
|
Classgen: support literal enums
|
2024-09-11 15:14:02 +02:00 |
|
Jörg Thalheim
|
850bb3314a
|
classgen: use own Exception type
|
2024-09-03 18:13:18 +02:00 |
|
Jörg Thalheim
|
1fa0e72bea
|
use pathlib everywhere
|
2024-09-02 18:26:13 +02:00 |
|
Jörg Thalheim
|
cb16cda3fa
|
add RET, Q, RSE lint
|
2024-09-02 15:58:49 +02:00 |
|
Jörg Thalheim
|
e150b37fb8
|
enable ASYNC, DTZ, YTT and EM lints
|
2024-09-02 14:07:06 +02:00 |
|
Johannes Kirschbauer
|
4e3dd27b70
|
Classgen: fix loose type for dict
|
2024-08-27 18:35:02 +02:00 |
|
Johannes Kirschbauer
|
4139435832
|
Classgen: fix dict type conversion for trivial dicts
|
2024-08-19 08:48:31 +02:00 |
|
Johannes Kirschbauer
|
7a3fad01e0
|
PropagatedBuild inputs workaround
|
2024-07-26 15:23:25 +02:00 |
|
Johannes Kirschbauer
|
bfaaa2e038
|
Classgen: make type order predictable
|
2024-07-19 18:49:16 +02:00 |
|
Johannes Kirschbauer
|
243aa17d55
|
Classgen: refactor functions
|
2024-07-19 18:20:22 +02:00 |
|
Johannes Kirschbauer
|
33261ab4b6
|
Classgen: add error reporting and combine common classes
|
2024-07-19 13:03:38 +02:00 |
|
Johannes Kirschbauer
|
a4b1a0eb47
|
Commit generated code otherwise CI cannot check types
|
2024-07-19 09:52:14 +02:00 |
|
Johannes Kirschbauer
|
fbe27bfa0a
|
Classgen: add mapped keys and more stuff
|
2024-07-18 21:58:36 +02:00 |
|
Johannes Kirschbauer
|
b752d2eb67
|
Init: Autogenerate classes from nix interfaces
|
2024-07-18 19:14:12 +02:00 |
|
Johannes Kirschbauer
|
fd6d9f5bec
|
Fix: api
|
2024-07-17 13:21:43 +02:00 |
|
Johannes Kirschbauer
|
fc7cc74b10
|
Init: classgenerator
|
2024-07-17 13:21:43 +02:00 |
|