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 sys-exit-alias (PLR1722) #3951

Merged
merged 1 commit into from
Jul 1, 2024
Merged

Conversation

echoix
Copy link
Member

@echoix echoix commented Jun 30, 2024

Using ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --fix.

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

Uses the fixes provided for ruff rule sys-exit-alias (PLR1722) to fix part of Pylint's consider-using-sys-exit / R1722.

Using  `ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --fix`.
@echoix echoix force-pushed the fix-sys-exit-alias branch from 1bffcf6 to 66718d4 Compare June 30, 2024 22:37
@github-actions github-actions bot added raster Related to raster data processing Python Related code is in Python libraries module docs labels Jun 30, 2024
@echoix echoix added this to the 8.5.0 milestone Jun 30, 2024
Copy link
Member

@ninsbl ninsbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I double checked that sys is imported in all changed files.

@echoix echoix merged commit a9d9dc4 into OSGeo:main Jul 1, 2024
26 checks passed
@echoix echoix deleted the fix-sys-exit-alias branch July 1, 2024 00:44
cyliang368 pushed a commit to cyliang368/grass that referenced this pull request Jul 1, 2024
Using  `ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --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
Using  `ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --fix`.
a0x8o pushed a commit to a0x8o/grass that referenced this pull request Jul 23, 2024
Using  `ruff check --select "PLR1722" --unsafe-fixes --output-format=concise --fix`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs 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