Deny import paths that allow code execution when given as values - #959
Quality Gate passed
Annotations
Check warning on line 468 in jsonargparse/_common.py
sonarqubecloud / SonarCloud Code Analysis
Remove this commented out code.
See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaAkczxq0VcEImD985Dh&open=AaAkczxq0VcEImD985Dh&pullRequest=959
Check failure on line 264 in jsonargparse/_common.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaAkczxq0VcEImD985Dg&open=AaAkczxq0VcEImD985Dg&pullRequest=959
Check warning on line 26 in jsonargparse_tests/test_import_paths.py
sonarqubecloud / SonarCloud Code Analysis
Remove this useless "yield".
See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaAkcz660VcEImD985Dj&open=AaAkcz660VcEImD985Dj&pullRequest=959
Check failure on line 284 in jsonargparse/_actions.py
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=AaAkcz3m0VcEImD985Di&open=AaAkcz3m0VcEImD985Di&pullRequest=959
Check warning on line 254 in jsonargparse/_common.py
sonarqubecloud / SonarCloud Code Analysis
Replace with dict fromkeys method call
See more on https://sonarcloud.io/project/issues?id=mauvilsa_jsonargparse&issues=AaAkczxq0VcEImD985Df&open=AaAkczxq0VcEImD985Df&pullRequest=959