Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: lora.json in site-packages, feat: python 3.11 support, refactor: code cleanup + mypy compliance #59

Merged
merged 15 commits into from
Aug 2, 2023

Conversation

tazlin
Copy link
Member

@tazlin tazlin commented Aug 2, 2023

fix: lora.json in site-packages:

feat: python 3.11 support

  • The use of the idiom class classname(str, Enum) has been replaced with the strenum package, to support both python 3.10 + 3.11.
  • These enum classes now use auto()

refactor: code cleanup + mypy compliance

  • Many potentially unset or unbound variables now handled explictly
  • Certain corner cases errors now still occur, but with context as for why.
  • Numerous type hints corrected or made more accurate
  • Several # type: ignore mypy meta-commands are present. Any outside comfy_horde.py are probably in need of some attention.

@tazlin tazlin added the release:patch Version _._.x label Aug 2, 2023
@tazlin tazlin merged commit 505d7cb into releases Aug 2, 2023
1 check passed
@tazlin tazlin mentioned this pull request Aug 2, 2023
tazlin added a commit that referenced this pull request Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:patch Version _._.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants