From a16995f2db0ebc81a2a9b8ec1961265b949e6dde Mon Sep 17 00:00:00 2001 From: Jasur Sadikov Date: Sun, 3 Nov 2024 15:30:08 +0100 Subject: [PATCH] Release v1.0.2 --- LICENSE | 2 +- pyproject.toml | 2 +- src/mud/__about__.py | 2 +- src/mud/__init__.py | 3 +-- src/mud/app.py | 6 ++---- src/mud/runner.py | 2 +- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/LICENSE b/LICENSE index 82c61ce..f6441b9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 Jasur Sadikov +Copyright (c) 2024 Jasur Sadikov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/pyproject.toml b/pyproject.toml index ffe19d9..775d881 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "mud-git" -version = "1.0.1" +version = "1.0.2" authors = [{ name = "Jasur Sadikov", email = "jasur@sadikoff.com" }] description = "🗃️ Multi repository git utility. Manage multiple git-repositories simultaneously." readme = "README.md" diff --git a/src/mud/__about__.py b/src/mud/__about__.py index 5c4105c..7863915 100644 --- a/src/mud/__about__.py +++ b/src/mud/__about__.py @@ -1 +1 @@ -__version__ = "1.0.1" +__version__ = "1.0.2" diff --git a/src/mud/__init__.py b/src/mud/__init__.py index db3f505..54b911b 100755 --- a/src/mud/__init__.py +++ b/src/mud/__init__.py @@ -1,10 +1,9 @@ #!/usr/bin/env python3 -import sys - from mud import utils, settings from mud.app import App + def run(): try: utils.settings = settings.Settings(utils.SETTINGS_FILE_NAME) diff --git a/src/mud/app.py b/src/mud/app.py index 4fbf9f5..e8f9b36 100644 --- a/src/mud/app.py +++ b/src/mud/app.py @@ -7,13 +7,11 @@ from argparse import ArgumentParser from mud import config - from mud import utils -from mud.utils import glyphs - +from mud.runner import Runner from mud.styles import * from mud.commands import * -from mud.runner import Runner +from mud.utils import glyphs class App: diff --git a/src/mud/runner.py b/src/mud/runner.py index fff914f..af17b8a 100644 --- a/src/mud/runner.py +++ b/src/mud/runner.py @@ -11,7 +11,7 @@ class Runner: - _label_color_cache = {} + _label_color_cache = {}1 _current_color_index = 0 def __init__(self, repos):