Skip to content

Enhance manim cfg show output and add info-level logging for config files read #4375

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

Merged

Conversation

xnov18
Copy link
Contributor

@xnov18 xnov18 commented Aug 4, 2025

Overview: What does this pull request change?

This pull request improves the manim cfg show command to display the config files read by Manim. It also adds info-level logging during startup to log which configuration files are actually loaded.

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

As a beginner open source contributor, I was searching for good first issues to jump in and solve. I implemented this feature to enhance transparency around Manim’s configuration loading. Specifically, I added info-level logging statements in the configuration parser function to log every config file as it is read, and updated the manim cfg show command to print the list of config files found before displaying their contents. This makes it easier for others to understand which configuration files are actually being used and helps with debugging any configuration-related problems.

Links to added or changed documentation pages

No documentation was changed.

Further Information and Comments

This PR addresses issue #4369

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

Copy link
Member

@behackl behackl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution, this seems fine to me!

@github-project-automation github-project-automation bot moved this from 🆕 New to 👍 To be merged in Dev Board Aug 7, 2025
@behackl behackl enabled auto-merge (squash) August 7, 2025 20:07
@behackl behackl merged commit fc68c10 into ManimCommunity:main Aug 7, 2025
21 checks passed
@github-project-automation github-project-automation bot moved this from 👍 To be merged to ✅ Done in Dev Board Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additions and improvements in general
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

manim cfg show should print (or at least log) which config files are being read
2 participants