Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from openSUSE:master #34

Merged
merged 5 commits into from
Feb 27, 2025
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Feb 27, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

JanZerebecki and others added 5 commits February 26, 2025 18:34
This always throws an exception, so anntotating it NoReturn allows
pylint to notice some exhaustive choice, removing these false errors:

osc/commandline.py:2232:68: E0606: Possibly using variable 'dst_package' before assignment (possibly-used-before-assignment)
osc/commandline.py:2448:68: E0606: Possibly using variable 'dst_package' before assignment (possibly-used-before-assignment)
The exception above would have already triggered otherwise. Thus
removing this pylint error:

osc/commandline.py:4371:38: E0601: Using variable 'package' before assignment (used-before-assignment)
This always throws an exception, so anntotating it NoReturn allows
pylint to notice some exhaustive choice, removing this false errors:

osc/commandline.py:6581:78: E0606: Possibly using variable 'arch' before assignment (possibly-used-before-assignment)
Doing the assignment conditionally doesn't make sense here, so move it
outside the condition.

osc/commandline.py:8311:15: E0606: Possibly using variable 'p' before assignment (possibly-used-before-assignment)
@pull pull bot added the ⤵️ pull label Feb 27, 2025
@pull pull bot merged commit 77943fc into signed-log:master Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants