mirror of
https://github.com/initialcommit-com/git-sim.git
synced 2026-04-26 19:15:51 +03:00
[PR #80] [MERGED] Use Enum for coloring options #92
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-sim#92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/initialcommit-com/git-sim/pull/80
Author: @paketb0te
Created: 4/7/2023
Status: ✅ Merged
Merged: 4/9/2023
Merged by: @initialcommit-io
Base:
dev← Head:color_by📝 Commits (4)
cc116cbBump version to 0.2.9684f5b0Use Enum for coloring optionsb35488bupdate help string for option57b4049use Union[..., None] instead of Optional[...] for backwards compatibility📊 Changes
5 files changed (+37 additions, -28 deletions)
View changed files
📝
git_sim/__main__.py(+8 -8)📝
git_sim/enums.py(+17 -0)📝
git_sim/git_sim_base_command.py(+8 -7)📝
git_sim/settings.py(+3 -12)📝
setup.py(+1 -1)📄 Description
Also move some stray Enums into git-sim.enums.py.
Enums have two advantages here, they:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.