Adding fix for ORAS5 #2422
Adding fix for ORAS5 #2422
35 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 35
Complexity increasing per file
==============================
- esmvalcore/cmor/_fixes/oras5/_base_fixes.py 2
- esmvalcore/cmor/_fixes/oras5/oras5.py 7
See the complete overview on Codacy
Annotations
Check notice on line 9 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L9
Unused xarray imported as xr (unused-import)
Check notice on line 34 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L34
No blank lines allowed after function docstring (found 1) (D202)
Check notice on line 67 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L67
trailing whitespace (W291)
Check notice on line 70 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L70
missing whitespace after ',' (E231)
Check notice on line 71 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L71
missing whitespace after ',' (E231)
Check notice on line 82 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L82
too many leading '#' for block comment (E266)
Check notice on line 84 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L84
continuation line over-indented for hanging indent (E126)
Check notice on line 97 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L97
trailing whitespace (W291)
Check notice on line 103 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L103
trailing whitespace (W291)
Check notice on line 129 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L129
trailing whitespace (W291)
Check notice on line 131 in esmvalcore/cmor/_fixes/oras5/_base_fixes.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/_base_fixes.py#L131
no newline at end of file (W292)
Check notice on line 23 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L23
blank line contains whitespace (W293)
Check notice on line 24 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L24
Too many local variables (16/15) (too-many-locals)
Check notice on line 39 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L39
missing whitespace after ',' (E231)
Check notice on line 42 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L42
missing whitespace after ',' (E231)
Check notice on line 44 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L44
missing whitespace after ',' (E231)
Check notice on line 46 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L46
trailing whitespace (W291)
Check notice on line 51 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L51
line too long (81 > 79 characters) (E501)
Check notice on line 54 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L54
missing whitespace after ',' (E231)
Check notice on line 141 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L141
continuation line over-indented for hanging indent (E126)
Check notice on line 142 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L142
trailing whitespace (W291)
Check notice on line 145 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L145
unexpected spaces around keyword / parameter equals (E251)
Check notice on line 146 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L146
unexpected spaces around keyword / parameter equals (E251)
Check notice on line 149 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L149
continuation line over-indented for hanging indent (E126)
Check notice on line 153 in esmvalcore/cmor/_fixes/oras5/oras5.py
codacy-production / Codacy Static Code Analysis
esmvalcore/cmor/_fixes/oras5/oras5.py#L153
unexpected spaces around keyword / parameter equals (E251)