Merge pull request 'Classgen: support literal enums' (#2068) from hsjobeki/clan-core:hsjobeki-main into main

This commit is contained in:
clan-bot
2024-09-12 07:33:27 +00:00
3 changed files with 28 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
# ruff: noqa: F401
# fmt: off
from dataclasses import dataclass, field
from typing import Any
from typing import Any, Literal
@dataclass

View File

@@ -132,7 +132,7 @@
echo "Classes file is up to date"
else
echo "Classes file is out of date or has been modified"
echo "run ./update.sh in the inventory directory to update the classes file"
echo "run 'direnv reload' in the pkgs/clan-cli directory to refresh the classes file"
echo "--------------------------------\n"
diff "$file1" "$file2"
echo "--------------------------------\n\n"