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

style: Fixes useless-return (PLR1711) #3955

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

echoix
Copy link
Member

@echoix echoix commented Jun 30, 2024

Concerns Pylint rule "useless-return / R1711"

Using ruff check --output-format=concise --select PLR1711 --fix.

Part of the effort to introduce Pylint 3.x for #3921

Uses the fixes provided for ruff rule useless-return (PLR1711) to fix Pylint's "useless-return / R1711".

This one is quite easy to review

Concerns Pylint rule "useless-return / R1711"

Using `ruff check --output-format=concise --select PLR1711 --fix`.
@echoix echoix added this to the 8.5.0 milestone Jun 30, 2024
@github-actions github-actions bot added GUI wxGUI related raster Related to raster data processing Python Related code is in Python libraries module general imagery labels Jun 30, 2024
@echoix echoix enabled auto-merge (squash) July 1, 2024 00:31
@echoix echoix merged commit a9f81f4 into OSGeo:main Jul 1, 2024
26 of 27 checks passed
@echoix echoix deleted the fix-useless-return branch July 1, 2024 02:14
cyliang368 pushed a commit to cyliang368/grass that referenced this pull request Jul 1, 2024
Concerns Pylint rule "useless-return / R1711"

Using `ruff check --output-format=concise --select PLR1711 --fix`.
@a0x8o a0x8o mentioned this pull request Jul 1, 2024
a0x8o pushed a commit to a0x8o/grass that referenced this pull request Jul 2, 2024
Concerns Pylint rule "useless-return / R1711"

Using `ruff check --output-format=concise --select PLR1711 --fix`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general GUI wxGUI related imagery libraries module Python Related code is in Python raster Related to raster data processing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants