Skip to content

Support string and recursive type aliases, sentinels and fix dataclass with custom init - #991

Merged
mauvilsa merged 2 commits into
mainfrom
fix-recursive-aliases-sentinels-dataclass-init
Sep 29, 2026
Merged

mauvilsa merged 2 commits into
mainfrom
fix-recursive-aliases-sentinels-dataclass-init

Address review comments

be4df4c
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 29, 2026 in 46s

Annotations

Check failure on line 522 in jsonargparse/_formatters.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaDroQ1qMxOa4ntiRFo0&open=AaDroQ1qMxOa4ntiRFo0&pullRequest=991

Check failure on line 436 in jsonargparse/_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 26 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaDroQ7fMxOa4ntiRFo1&open=AaDroQ7fMxOa4ntiRFo1&pullRequest=991

Check failure on line 2298 in jsonargparse/_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaDroQ7fMxOa4ntiRFo2&open=AaDroQ7fMxOa4ntiRFo2&pullRequest=991