← Back to issue list

runtests.sh static gives some errors

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1659816
Type
issue
State
closed
Author
~3v1n0
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without resolution or comments, likely abandoned. The report listed static analysis and linting errors in runtests.sh but received no follow-up.

Suggested action:

No scores available.

Issue body

./runtests.sh static snapcraft/tests/fake_servers.py:336:1: C901 'FakeStoreAPIRequestHandler.do_POST' is too complex (11) snapcraft/tests/test_deltas_xdelta3.py:29:38: E261 at least two spaces before inline comment snapcraft/internal/deltas/__init__.py:19:1: E303 too many blank lines (3) snapcraft/internal/deltas/__init__.py:19:21: E261 at least two spaces before inline comment snapcraft/internal/deltas/__init__.py:20:41: E261 at least two spaces before inline comment snapcraft/internal/deltas/__init__.py:21:39: E261 at least two spaces before inline comment snapcraft/internal/sources/__init__.py:150:1: C901 '_get_source_type_from_uri' is too complex (11)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without resolution or comments, likely abandoned. The report listed static analysis and linting errors in runtests.sh but received no follow-up.
qwen/qwen3.6-35b-a3b Static analysis reported code complexity and formatting violations in the test suite. The issue was closed after the linting errors were addressed.
qwen/qwen3.6-35b-a3b Static analysis errors in runtests.sh were closed without comments or discussion. No fix or merge was documented, indicating the report was abandoned or resolved by later code changes.
qwen3.6-35b-a3b-mtp-q6 Closed without discussion, likely abandoned or resolved by later refactoring. Reported linting errors in runtests.sh.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1617149 There are test statements not run by the tests snapcraft (launchpad) closed Closed without resolution. The report highlighted unexecuted test statements in coverage reports that risk code rot. No comments or fixes were provided.
74%
#1616546 integration tests are not reviewed by the static checker snapcraft (launchpad) closed Closed without documented resolution. The static analysis configuration was never updated to include the integration tests directory, leaving Python style violations unchecked. Issue appears abandoned.
73%
#1533397 The static tests are run as part of the unit tests snapcraft (launchpad) closed Closed without documented resolution. Static tests were incorrectly grouped with unit tests and should run as separate suites. No fix or pull request was linked.
71%
#1538354 Poor information on tests errors snapcraft (launchpad) closed Abandoned. The report highlighted unclear test failure exceptions and proposed capturing output during execution or with the summary. No comments or follow-up actions occurred, and the issue was closed without resolution.
71%