You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: replace Codeanalyzer constructor parameters with AnalysisOptions dataclass
BREAKING CHANGE: Codeanalyzer constructor now takes a single AnalysisOptions
parameter instead of 9 individual parameters, improving API design and
maintainability.
- Add new codeanalyzer.options module with AnalysisOptions dataclass
- Refactor Codeanalyzer.__init__ to accept AnalysisOptions parameter
- Update CLI to create AnalysisOptions instance from command arguments
- Improve type safety and configuration management
- Enhance code organization and maintainability
- Update version to 0.1.12 in pyproject.toml
- Add comprehensive changelog documentation
- Remove obsolete test_numpy_constraints.py file
Closes#12
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
## [0.1.12] - 2025-07-21
9
9
10
10
### Changed
11
-
-**BREAKING CHANGE**: Refactored `Codeanalyzer` constructor to use `AnalysisOptions` dataclass [in response to #19](https://github.com/codellm-devkit/codeanalyzer-python/issues/19)
11
+
-**BREAKING CHANGE**: Refactored `Codeanalyzer` constructor to use `AnalysisOptions` dataclass [in response to #12](https://github.com/codellm-devkit/codeanalyzer-python/issues/12)
12
12
- Replaced multiple individual parameters with single `AnalysisOptions` object for cleaner API
13
13
- Improved type safety and configuration management through centralized options structure
14
14
- Enhanced maintainability and extensibility for future configuration additions
15
15
- Updated CLI integration to create and pass `AnalysisOptions` instance
16
16
- Maintained backward compatibility in terms of functionality while improving code architecture
17
17
18
18
### Added
19
-
- New `AnalysisOptions` dataclass in `codeanalyzer.options` module [in response to #19](https://github.com/codellm-devkit/codeanalyzer-python/issues/19)
19
+
- New `AnalysisOptions` dataclass in `codeanalyzer.options` module [in response to #12](https://github.com/codellm-devkit/codeanalyzer-python/issues/12)
20
20
- Centralized configuration structure with all analysis parameters
21
21
- Type-safe configuration with proper defaults and validation
0 commit comments