Skip to content

Fix optional kwarg in MSI SAFE reader.

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Apr 7, 2024 in 30s

CodeScene PR Check

Code Health Quality Gates: OK

View detailed results in CodeScene

Details

Annotations

Check notice on line 84 in satpy/readers/msi_safe.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ Getting worse: Excess Number of Function Arguments

SAFEMSIL1C.__init__ increases from 6 to 7 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.

Check notice on line 126 in satpy/readers/msi_safe.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ New issue: Excess Number of Function Arguments

SAFEMSIXMLMetadata.__init__ has 5 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.

Check notice on line 242 in satpy/readers/msi_safe.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ New issue: Excess Number of Function Arguments

SAFEMSITileMDXML.__init__ has 5 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.