Skip to content

Qodana

Qodana #1

GitHub Actions / Qodana Community for Python completed Apr 25, 2024 in 0s

478 new problems found by Qodana Community for Python

Qodana Community for Python

478 new problems were found

Inspection name Severity Problems
Incorrect type 🔶 Warning 16
Unbound local variables 🔶 Warning 13
Incorrect call arguments 🔶 Warning 6
Unnecessary backslash 🔶 Warning 2
Redeclared names without usages 🔶 Warning 1
Unreachable code 🔶 Warning 1
PEP 8 coding style violation ◽️ Notice 219
PEP 8 naming convention violation ◽️ Notice 81
Unused local symbols ◽️ Notice 47
Method is not declared static ◽️ Notice 38
Shadowing names from outer scopes ◽️ Notice 18
An instance attribute is defined outside init`` ◽️ Notice 15
Incorrect docstring ◽️ Notice 10
Redundant parentheses ◽️ Notice 5
Accessing a protected member of a class or a module ◽️ Notice 2
Unclear exception clauses ◽️ Notice 1
Using equality operators to compare with None ◽️ Notice 1
Improper first parameter ◽️ Notice 1
Shadowing built-in names ◽️ Notice 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked
☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

Details

This result was published with Qodana GitHub Action

Annotations

Check warning on line 398 in CMIP6_light.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'model_object' unfilled

Check warning on line 390 in CMIP6_light.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'model_object' unfilled

Check warning on line 316 in CMIP6_ridgeplot.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'LME' unfilled

Check warning on line 381 in CMIP6_light.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'model_object' unfilled

Check warning on line 316 in CMIP6_ridgeplot.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'scenario' unfilled

Check warning on line 15 in test_CMIP6_albedo.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect call arguments

Parameter 'args' unfilled

Check notice on line 168 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute wavelengths_ice defined outside __init__

Check notice on line 169 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute absorption_ice_pg defined outside __init__

Check notice on line 125 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute alpha_wc defined outside __init__

Check notice on line 120 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute wavelengths defined outside __init__

Check notice on line 121 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute refractive_indexes defined outside __init__

Check notice on line 126 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute solar_energy defined outside __init__

Check notice on line 134 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute fractions_shortwave_nir defined outside __init__

Check notice on line 123 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute alpha_w defined outside __init__

Check notice on line 124 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute beta_w defined outside __init__

Check notice on line 181 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute erythema_spectrum defined outside __init__

Check notice on line 122 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute alpha_chl defined outside __init__

Check notice on line 128 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute fractions_shortwave_uv defined outside __init__

Check notice on line 677 in CMIP6_light.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute cmip6_ccsm3 defined outside __init__

Check notice on line 112 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute df defined outside __init__

Check notice on line 131 in CMIP6_config.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

An instance attribute is defined outside `__init__`

Instance attribute fractions_shortwave_vis defined outside __init__

Check notice on line 33 in test_CMIP6_albedo.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Unclear exception clauses

Too broad exception clause

Check notice on line 113 in CMIP6_albedo_plot.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Using equality operators to compare with None

Comparison with None performed with equality operators

Check notice on line 123 in CMIP6_light.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect docstring

Missing parameter bias_delta in docstring

Check notice on line 183 in CMIP6_ccsm3.py

See this annotation in the file changed.

@github-actions github-actions / Qodana Community for Python

Incorrect docstring

Missing parameter ozone in docstring