[PR #17] [MERGED] Clean star imports #71

Closed
opened 2026-03-02 16:48:02 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/initialcommit-com/git-sim/pull/17
Author: @paketb0te
Created: 1/25/2023
Status: Merged
Merged: 1/25/2023
Merged by: @initialcommit-io

Base: mainHead: clean_star_imports


📝 Commits (2)

📊 Changes

15 files changed (+254 additions, -186 deletions)

View changed files

📝 git_sim/git_sim.py (+18 -18)
📝 git_sim/git_sim_add.py (+6 -3)
📝 git_sim/git_sim_base_command.py (+100 -95)
📝 git_sim/git_sim_branch.py (+12 -7)
📝 git_sim/git_sim_cherrypick.py (+8 -3)
📝 git_sim/git_sim_commit.py (+8 -3)
📝 git_sim/git_sim_log.py (+7 -2)
📝 git_sim/git_sim_merge.py (+10 -5)
📝 git_sim/git_sim_rebase.py (+18 -13)
📝 git_sim/git_sim_reset.py (+11 -6)
📝 git_sim/git_sim_restore.py (+9 -4)
📝 git_sim/git_sim_revert.py (+19 -14)
📝 git_sim/git_sim_stash.py (+9 -4)
📝 git_sim/git_sim_status.py (+7 -2)
📝 git_sim/git_sim_tag.py (+12 -7)

📄 Description

Clean up star (wildcard) imports for better readability and to avoid namespace cluttering.

Replace all instances of from manim import * with import manim as m and prefix all Manim-Objects with m. accordingly.

Fixes #8


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/initialcommit-com/git-sim/pull/17 **Author:** [@paketb0te](https://github.com/paketb0te) **Created:** 1/25/2023 **Status:** ✅ Merged **Merged:** 1/25/2023 **Merged by:** [@initialcommit-io](https://github.com/initialcommit-io) **Base:** `main` ← **Head:** `clean_star_imports` --- ### 📝 Commits (2) - [`fdf775b`](https://github.com/initialcommit-com/git-sim/commit/fdf775bad91c5332fea1095ba70f745f27c18f09) clean imports in git_sim.py - [`9d2e162`](https://github.com/initialcommit-com/git-sim/commit/9d2e1620723aae7741a41782fe1cd5c9a5a8f351) import manim as m ### 📊 Changes **15 files changed** (+254 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `git_sim/git_sim.py` (+18 -18) 📝 `git_sim/git_sim_add.py` (+6 -3) 📝 `git_sim/git_sim_base_command.py` (+100 -95) 📝 `git_sim/git_sim_branch.py` (+12 -7) 📝 `git_sim/git_sim_cherrypick.py` (+8 -3) 📝 `git_sim/git_sim_commit.py` (+8 -3) 📝 `git_sim/git_sim_log.py` (+7 -2) 📝 `git_sim/git_sim_merge.py` (+10 -5) 📝 `git_sim/git_sim_rebase.py` (+18 -13) 📝 `git_sim/git_sim_reset.py` (+11 -6) 📝 `git_sim/git_sim_restore.py` (+9 -4) 📝 `git_sim/git_sim_revert.py` (+19 -14) 📝 `git_sim/git_sim_stash.py` (+9 -4) 📝 `git_sim/git_sim_status.py` (+7 -2) 📝 `git_sim/git_sim_tag.py` (+12 -7) </details> ### 📄 Description Clean up star (wildcard) imports for better readability and to avoid namespace cluttering. Replace all instances of `from manim import *` with `import manim as m` and prefix all Manim-Objects with `m.` accordingly. Fixes #8 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:48:02 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-sim#71
No description provided.