Skip to content

Conversation

@OliverStrait
Copy link
Contributor

@OliverStrait OliverStrait commented Jul 21, 2025

Overview: What does this pull request change?

Cleaning and documenting Runtime module creation and Scene-class search

  • Old version had knowledge of Scene and did had CLI control flow baked in.
  • New version put CLI control flow back into caller file. Module creation does only one job.
  • New functions are type agnostig and generic

Version checker:

  • Old checker connects to internet every time when rendering is stopped
  • New version caches information into file and fetch information from internet only once a day.

Motivation and Explanation: Why and how do your changes improve the library?

  • Code quality and function documentation and typing
  • Little changes to CLI UX.

Related issue

#4264

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

Oliver Strait added 5 commits July 31, 2025 19:23
generation.
- Module code does not know manim anymore
- Two CLI helper function in new cli_utils.py
- Commands are only place that has knowledge of
    wider program
- Every CLI choise and desicion is moved inside
    of Commands
- fixing  typos and added full docstring
- replace regex with python string split
module_ops:
-  full docstrings, typo fixing
- handling python internal type-madness with exceptions to please mypy
commands:
- docstrings, typos, more descriptive names
-  cleaning version fetch functionality
Use Scene and not type(self)
@henrikmidtiby henrikmidtiby added the typehints For adding/discussing typehints label Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

typehints For adding/discussing typehints

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

2 participants