Skip to content

Fix useless-return warnings reported by Pylint - #4173

Merged
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/fix-useless-return-warnings
Jan 27, 2026
Merged

Fix useless-return warnings reported by Pylint#4173
svartkanin merged 1 commit into
archlinux:masterfrom
correctmost:cm/fix-useless-return-warnings

Conversation

@correctmost

Copy link
Copy Markdown
Contributor

PR Description:

This PR fixes the following warnings (the R-level Pylint warnings are currently disabled in pyproject.toml):

************* Module archinstall.default_profiles.desktops.labwc
archinstall/default_profiles/desktops/labwc.py:66:1: R1711: Useless return at end of function or method (useless-return)
************* Module archinstall.default_profiles.desktops.sway
archinstall/default_profiles/desktops/sway.py:76:1: R1711: Useless return at end of function or method (useless-return)
************* Module archinstall.default_profiles.desktops.niri
archinstall/default_profiles/desktops/niri.py:74:1: R1711: Useless return at end of function or method (useless-return)
************* Module archinstall.default_profiles.desktops.hyprland
archinstall/default_profiles/desktops/hyprland.py:69:1: R1711: Useless return at end of function or method (useless-return)
************* Module archinstall.tui.ui.components
archinstall/tui/ui/components.py:1205:1: R1711: Useless return at end of function or method (useless-return)

@correctmost
correctmost requested a review from Torxed as a code owner January 27, 2026 04:06
@svartkanin
svartkanin merged commit 15460e4 into archlinux:master Jan 27, 2026
9 checks passed
@correctmost
correctmost deleted the cm/fix-useless-return-warnings branch January 27, 2026 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants