From baa666f625f97e002ad92adae7528bcf386e3e9b Mon Sep 17 00:00:00 2001 From: jakub-nt <175944085+jakub-nt@users.noreply.github.com> Date: Mon, 4 Aug 2025 19:19:05 +0200 Subject: [PATCH] Renamed custom types module This resolves a name clash with standard library module `types.py`. Signed-off-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com> --- cfbs/cfbs_config.py | 2 +- cfbs/{types.py => cfbs_types.py} | 0 cfbs/commands.py | 2 +- cfbs/git_magic.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename cfbs/{types.py => cfbs_types.py} (100%) diff --git a/cfbs/cfbs_config.py b/cfbs/cfbs_config.py index 27718ae5..c7aeff70 100644 --- a/cfbs/cfbs_config.py +++ b/cfbs/cfbs_config.py @@ -21,7 +21,7 @@ from collections import OrderedDict from typing import List -from cfbs.types import CFBSCommandGitResult +from cfbs.cfbs_types import CFBSCommandGitResult from cfbs.utils import ( CFBSExitError, CFBSUserError, diff --git a/cfbs/types.py b/cfbs/cfbs_types.py similarity index 100% rename from cfbs/types.py rename to cfbs/cfbs_types.py diff --git a/cfbs/commands.py b/cfbs/commands.py index 3e6de4cb..74f5959b 100644 --- a/cfbs/commands.py +++ b/cfbs/commands.py @@ -57,7 +57,7 @@ def search_command(terms: List[str]): from cfbs.args import get_args from cfbs.cfbs_json import CFBSJson -from cfbs.types import CFBSCommandExitCode, CFBSCommandGitResult +from cfbs.cfbs_types import CFBSCommandExitCode, CFBSCommandGitResult from cfbs.updates import ModuleUpdates, update_module from cfbs.utils import ( CFBSNetworkError, diff --git a/cfbs/git_magic.py b/cfbs/git_magic.py index 30bcad1b..a8277928 100644 --- a/cfbs/git_magic.py +++ b/cfbs/git_magic.py @@ -15,7 +15,7 @@ git_check_tracked_changes, ) from cfbs.args import get_args -from cfbs.types import CFBSCommandExitCode, CFBSCommandGitResult +from cfbs.cfbs_types import CFBSCommandExitCode, CFBSCommandGitResult import logging as log from functools import partial