File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.1.9] - 2025-07-14
9+
10+ ### Fixed
11+ - Fixed ` AttributeError: 'OutputFormat' object has no attribute 'casefold' ` when using ` --format ` flag with case-insensitive options
12+ - Changed ` OutputFormat ` enum to inherit from ` str ` to support typer's case-insensitive string processing
13+
814## [ 0.1.8] - 2025-07-14
915
1016### Added
Original file line number Diff line number Diff line change 11from enum import Enum
22
33
4- class OutputFormat (Enum ):
5- """Enum-like class for output formats."""
4+ class OutputFormat (str , Enum ):
5+ """String-based enum for output formats to support typer case-insensitive options ."""
66
77 JSON = "json"
88 MSGPACK = "msgpack"
Original file line number Diff line number Diff line change 11[project ]
22name = " codeanalyzer-python"
3- version = " 0.1.8 "
3+ version = " 0.1.9 "
44description = " Static Analysis on Python source code using Jedi, CodeQL and Treesitter."
55readme = " README.md"
66authors = [
You can’t perform that action at this time.
0 commit comments