Skip to content

Fix several issues related to type hints and signature parameters - #950

Merged
mauvilsa merged 1 commit into
mainfrom
type-hints-fixes
Aug 7, 2026
Merged

Fix several issues related to type hints and signature parameters#950
mauvilsa merged 1 commit into
mainfrom
type-hints-fixes

Fix several issues related to type hints and signature parameters

1a0c42d
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 7, 2026 in 41s

Annotations

Check warning on line 352 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer the context manager form: wrap the raising code in "with pytest.raises(...)".

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

Check warning on line 1790 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_czpWfRt4gBeCJn0r7&open=AZ_czpWfRt4gBeCJn0r7&pullRequest=950

Check warning on line 336 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer the context manager form: wrap the raising code in "with pytest.raises(...)".

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

Check warning on line 445 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_czpWfRt4gBeCJn0r6&open=AZ_czpWfRt4gBeCJn0r6&pullRequest=950

Check warning on line 343 in jsonargparse_tests/test_typehints.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer the context manager form: wrap the raising code in "with pytest.raises(...)".

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