Skip to content

Sort union subtypes when the argument is added instead of while parsing - #949

Merged
mauvilsa merged 1 commit into
mainfrom
union-type-reordering
Aug 7, 2026
Merged

Sort union subtypes when the argument is added instead of while parsing#949
mauvilsa merged 1 commit into
mainfrom
union-type-reordering

Sort union subtypes when the argument is added instead of while parsing

5925ef4
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 7, 2026 in 39s

Annotations

Check warning on line 1641 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 sides so they are in the correct order: actual value, expected value.

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

Check warning on line 1631 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 sides so they are in the correct order: actual value, expected value.

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

Check warning on line 1626 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Swap these 2 sides so they are in the correct order: actual value, expected value.

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