Skip to content

refactor: classes#21

Merged
ZaharChernenko merged 3 commits intomainfrom
refactor
Mar 9, 2026
Merged

refactor: classes#21
ZaharChernenko merged 3 commits intomainfrom
refactor

Conversation

@ZaharChernenko
Copy link
Owner

No description provided.

- Move concrete implementation to new TBaseFileInfoExtractor class
- Make IFileInfoExtractor pure interface with abstract methods
- TVimFileInfoExtractor now inherits from TBaseFileInfoExtractor
- Improves SOLID compliance and separation of concerns
- Rename ICodeRunnerBuilder to ICodeRunnerFactory
- Rename TVimCodeRunnerBuilder to TVimCodeRunnerFactory
- Rename build() method to create()
- Rename all _build_* private methods to _create_*
- Factory pattern better reflects single-call object creation
- All 87 tests passing
- Prevent passing filenames to ruff, ruff_format, mypy, pylint
- Hooks now check entire python_coderunner directory
- Improves hook execution consistency
@ZaharChernenko ZaharChernenko merged commit 29bfd43 into main Mar 9, 2026
2 checks passed
@ZaharChernenko ZaharChernenko deleted the refactor branch March 9, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant