checks: Pylint 3 config #2191
python-code-quality.yml
on: pull_request
Matrix: Python Code Quality Checks
Python Code Quality Result
/
Success
5s
Annotations
15 errors
Python Code Quality Checks (ubuntu-22.04)
Process completed with exit code 31.
|
Python Code Quality Checks (ubuntu-22.04)
Process completed with exit code 30.
|
Python Code Quality Checks (ubuntu-22.04):
display/d.mon/render_cmd.py#L1
[pylint] display/d.mon/render_cmd.py
E:155,50: Possibly using variable 'path' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
general/g.parser/test.py#L1
[pylint] general/g.parser/test.py
E: 40,13: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
E: 41,14: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
gui/scripts/d.wms.py#L1
[pylint] gui/scripts/d.wms.py
E:197, 4: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
E:210,15: Possibly using variable 'wms' before assignment (possibly-used-before-assignment)
E:210,35: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
lib/init/grass.py#L1
[pylint] lib/init/grass.py
W:234, 8: Raising too general exception: Exception (broad-exception-raised)
R:746, 0: Too many positional arguments (7/5) (too-many-positional-arguments)
E:812,38: Using variable 'mapset' before assignment (used-before-assignment)
E:1419,15: Using variable 'script' before assignment (used-before-assignment)
E:1702,16: Using variable 'fh' before assignment (used-before-assignment)
E:1842,31: Possibly using variable 'linesplat' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
lib/raster/testsuite/rast_parse_color_rule.py#L1
[pylint] lib/raster/testsuite/rast_parse_color_rule.py
R: 25, 4: Too many positional arguments (6/5) (too-many-positional-arguments)
|
Python Code Quality Checks (ubuntu-22.04):
scripts/d.correlate/d.correlate.py#L1
[pylint] scripts/d.correlate/d.correlate.py
E: 37,13: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
scripts/d.frame/d.frame.py#L1
[pylint] scripts/d.frame/d.frame.py
E:284, 7: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
E:299,32: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
scripts/d.polar/d.polar.py#L1
[pylint] scripts/d.polar/d.polar.py
E: 69,48: Possibly using variable 'outercircle' before assignment (possibly-used-before-assignment)
E:413,10: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
E:416,13: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
scripts/d.rast.leg/d.rast.leg.py#L1
[pylint] scripts/d.rast.leg/d.rast.leg.py
E: 86,10: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
E: 89,11: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
|
Python Code Quality Checks (ubuntu-22.04):
scripts/db.dropcolumn/db.dropcolumn.py#L1
[pylint] scripts/db.dropcolumn/db.dropcolumn.py
E: 53,12: Possibly using variable 'options' before assignment (possibly-used-before-assignment)
E: 57,12: Possibly using variable 'flags' before assignment (possibly-used-before-assignment)
R:119,12: Redefinition of colnames type from list to str (redefined-variable-type)
R:120,12: Redefinition of coltypes type from list to str (redefined-variable-type)
R:119,12: Redefinition of colnames type from list to str (redefined-variable-type)
R:120,12: Redefinition of coltypes type from list to str (redefined-variable-type)
|
Python Code Quality Checks (ubuntu-22.04)
Process completed with exit code 30.
|
Python Code Quality Result / Success
Some jobs were failed
|
Python Code Quality Result / Success
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
bandit.sarif
|
18.9 KB |
|
formatted-ruff
Expired
|
12.8 KB |
|
sphinx-grass
Expired
|
4.54 MB |
|