Skip to content

Conversation

rahlk
Copy link
Contributor

@rahlk rahlk commented Jul 21, 2025

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

rahlk added 2 commits July 21, 2025 15:35
…tions 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
…tions 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
@rahlk rahlk merged commit af94b10 into main Jul 21, 2025
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.

Feature Request: Refactor Configuration Architecture for Better CLI/Library Separation

1 participant