Skip to content

Move demo data into package directory (#90)

Jenkins - WCR / Pylint succeeded Aug 21, 2023 in 0s

34 new issues, 238 total

Total New Outstanding Fixed Trend
238 34 204 23 👎

Reference build: petals_branches » develop #178

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 7 27

Annotations

Check warning on line 46 in climada_petals/__init__.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (132/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 47 in climada_petals/__init__.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (127/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 48 in climada_petals/__init__.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (128/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 49 in climada_petals/__init__.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (125/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 203 in climada_petals/hazard/drought.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

redefined-outer-name

NORMAL:
Redefining name 'HAZ_TYPE' from outer scope (line 59)
Raw output
Used when a variable's name hide a name defined in the outer scope.

Check warning on line 203 in climada_petals/hazard/drought.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Variable name "HAZ_TYPE" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 206 in climada_petals/hazard/drought.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Variable name "HAZ_TYPE" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 141 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

fixme

NORMAL:
TODO: replace this call to `set_raster` with a call to `from_raster` when
Raw output
no description found

Check warning on line 166 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

fixme

NORMAL:
TODO: replace this call to `set_raster` with a call to `from_raster` when
Raw output
no description found

Check warning on line 176 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

fixme

NORMAL:
TODO: replace this call to `set_raster` with a call to `from_raster` when
Raw output
no description found

Check warning on line 190 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

fixme

NORMAL:
TODO: replace this call to `set_raster` with a call to `from_raster` when
Raw output
no description found

Check warning on line 201 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

fixme

NORMAL:
TODO: replace this call to `set_raster` with a call to `from_raster` when
Raw output
no description found

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-complex

LOW:
'from_nc' is too complex. The McCabe rating is 13
Raw output
no description found

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

invalid-name

LOW:
Argument name "ISINatIDGrid" doesn't conform to '(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$' pattern
Raw output
Used when the name doesn't match the regular expression associated to its type(constant, variable, class...).

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-arguments

LOW:
Too many arguments (10/7)
Raw output
Used when a function or method takes too many arguments.

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-locals

LOW:
Too many local variables (27/15)
Raw output
Used when a function or method has too many local variables.

Check warning on line 130 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

protected-access

NORMAL:
Access to a protected member _select_event of a client class
Raw output
Used when a protected member (i.e. class member with a name beginning with anunderscore) is access outside the class or a descendant of the class whereit's defined.

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

inconsistent-return-statements

LOW:
Either all return statements in a function should return an expression, or none of them should.
Raw output
no description found

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-branches

LOW:
Too many branches (15/12)
Raw output
Used when a function or method has too many branches, making it hard tofollow.

Check warning on line 77 in climada_petals/hazard/river_flood.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

too-many-statements

LOW:
Too many statements (65/50)
Raw output
Used when a function or method has too many statements. You should then splitit in smaller functions / methods.

Check warning on line 376 in climada_petals/hazard/low_flow.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (102/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 690 in climada_petals/hazard/low_flow.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (103/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 694 in climada_petals/hazard/low_flow.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (103/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 697 in climada_petals/hazard/low_flow.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (111/100)
Raw output
Used when a line is longer than a given number of characters.

Check warning on line 699 in climada_petals/hazard/low_flow.py

See this annotation in the file changed.

@jenkins-wcr jenkins-wcr / Pylint

line-too-long

LOW:
Line too long (103/100)
Raw output
Used when a line is longer than a given number of characters.