From 6c9dc9785d5b79722ae9580129a3862c8cda7e27 Mon Sep 17 00:00:00 2001 From: ZaharChernenko Date: Mon, 9 Mar 2026 17:09:39 +0300 Subject: [PATCH] refactor: classes --- python_coderunner/__init__.py | 2 +- python_coderunner/src/coderunner_builder/__init__.py | 2 -- python_coderunner/src/coderunner_factory/__init__.py | 2 ++ .../src/{coderunner_builder => coderunner_factory}/interface.py | 0 .../vim_coderunner_factory.py} | 0 5 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 python_coderunner/src/coderunner_builder/__init__.py create mode 100644 python_coderunner/src/coderunner_factory/__init__.py rename python_coderunner/src/{coderunner_builder => coderunner_factory}/interface.py (100%) rename python_coderunner/src/{coderunner_builder/vim_coderunner_builder.py => coderunner_factory/vim_coderunner_factory.py} (100%) diff --git a/python_coderunner/__init__.py b/python_coderunner/__init__.py index a912b12..2ca596f 100644 --- a/python_coderunner/__init__.py +++ b/python_coderunner/__init__.py @@ -1,2 +1,2 @@ from .src.coderunner import TCodeRunner -from .src.coderunner_builder import TVimCodeRunnerFactory +from .src.coderunner_factory import TVimCodeRunnerFactory diff --git a/python_coderunner/src/coderunner_builder/__init__.py b/python_coderunner/src/coderunner_builder/__init__.py deleted file mode 100644 index b00d7ea..0000000 --- a/python_coderunner/src/coderunner_builder/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from .interface import ICodeRunnerFactory -from .vim_coderunner_builder import TVimCodeRunnerFactory diff --git a/python_coderunner/src/coderunner_factory/__init__.py b/python_coderunner/src/coderunner_factory/__init__.py new file mode 100644 index 0000000..c283b1a --- /dev/null +++ b/python_coderunner/src/coderunner_factory/__init__.py @@ -0,0 +1,2 @@ +from .interface import ICodeRunnerFactory +from .vim_coderunner_factory import TVimCodeRunnerFactory diff --git a/python_coderunner/src/coderunner_builder/interface.py b/python_coderunner/src/coderunner_factory/interface.py similarity index 100% rename from python_coderunner/src/coderunner_builder/interface.py rename to python_coderunner/src/coderunner_factory/interface.py diff --git a/python_coderunner/src/coderunner_builder/vim_coderunner_builder.py b/python_coderunner/src/coderunner_factory/vim_coderunner_factory.py similarity index 100% rename from python_coderunner/src/coderunner_builder/vim_coderunner_builder.py rename to python_coderunner/src/coderunner_factory/vim_coderunner_factory.py