Add simple pointing calibrator - #3066
Quality Gate failed
Failed conditions
3 New issues
See analysis details on SonarQube
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check failure on line 336 in src/ctapipe/tools/process.py
ctao-sonarqube / SonarQube Code Analysis
Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.
[S3776] Cognitive Complexity of functions should not be too high
See more on https://sonar-ctao.zeuthen.desy.de/project/issues?id=cta-observatory_ctapipe_6122e87b-83f3-4db1-8287-457e752adf01&pullRequest=3066&issues=e3294470-a5a1-425d-9a47-840eb0c61174&open=e3294470-a5a1-425d-9a47-840eb0c61174
Check warning on line 49 in src/ctapipe/calib/optics/calibrator.py
ctao-sonarqube / SonarQube Code Analysis
Return a value of type "TelescopePointingContainer" instead of "NoneType" or update function "_apply_structure_displacement" type hint.
[S5886] Function return types should be consistent with their type hint
See more on https://sonar-ctao.zeuthen.desy.de/project/issues?id=cta-observatory_ctapipe_6122e87b-83f3-4db1-8287-457e752adf01&pullRequest=3066&issues=e57a8ed6-3766-42be-954a-08c75188d486&open=e57a8ed6-3766-42be-954a-08c75188d486
Check warning on line 46 in src/ctapipe/calib/optics/calibrator.py
ctao-sonarqube / SonarQube Code Analysis
Return a value of type "TelescopePointingContainer" instead of "NoneType" or update function "_apply_structure_displacement" type hint.
[S5886] Function return types should be consistent with their type hint
See more on https://sonar-ctao.zeuthen.desy.de/project/issues?id=cta-observatory_ctapipe_6122e87b-83f3-4db1-8287-457e752adf01&pullRequest=3066&issues=33d6c521-9c2f-4dd6-9e0f-a5661968c883&open=33d6c521-9c2f-4dd6-9e0f-a5661968c883