Skip to content

Enable Ruff UP & TCH Rules and Apply Automatic Fixes#520

Merged
ppizarror merged 1 commit into
ppizarror:masterfrom
JaskRendix:ruff
Mar 5, 2026
Merged

Enable Ruff UP & TCH Rules and Apply Automatic Fixes#520
ppizarror merged 1 commit into
ppizarror:masterfrom
JaskRendix:ruff

Conversation

@JaskRendix
Copy link
Copy Markdown
Collaborator

@JaskRendix JaskRendix commented Feb 26, 2026

PR runs Ruff with the UP, TCH, and I rule sets enabled for Python 3.9 to match the intended configuration.

ruff check .

Comment thread pygame_menu/examples/other/image_background.py Fixed
Comment thread pygame_menu/widgets/core/widget.py Fixed
Comment thread pygame_menu/_decorator.py Fixed
Comment thread pygame_menu/baseimage.py Fixed
Comment thread pygame_menu/examples/other/maze.py Fixed
Comment thread pygame_menu/menu.py Fixed
Comment thread pygame_menu/themes.py Fixed
Comment thread pygame_menu/widgets/widget/selector.py Fixed
Comment thread pygame_menu/widgets/widget/surface.py Fixed
Comment thread pygame_menu/widgets/widget/table.py Fixed
Comment thread pygame_menu/widgets/widget/textinput.py Fixed
Comment thread pygame_menu/widgets/widget/toggleswitch.py Fixed
@JaskRendix JaskRendix force-pushed the ruff branch 4 times, most recently from 89d8e7b to 1e23111 Compare February 26, 2026 10:41
@JaskRendix JaskRendix marked this pull request as ready for review February 26, 2026 10:43
@JaskRendix JaskRendix force-pushed the ruff branch 3 times, most recently from 99134af to eeb9418 Compare March 2, 2026 14:45
@JaskRendix JaskRendix closed this Mar 2, 2026
@JaskRendix JaskRendix reopened this Mar 2, 2026
@JaskRendix JaskRendix force-pushed the ruff branch 2 times, most recently from 6957e2e to 4a2e6ee Compare March 2, 2026 15:15
@ppizarror
Copy link
Copy Markdown
Owner

Hi @JaskRendix, let me know when this is done to merge. thanks

@JaskRendix
Copy link
Copy Markdown
Collaborator Author

@ppizarror ruff is now fully implemented. I introduced a minimal pyproject.toml with only the Ruff settings. In a follow‑up PR, we can also move some of the existing configuration into pyproject.toml to make the project structure more modern and aligned with current Python 3.10 standards. You can merge.

@ppizarror
Copy link
Copy Markdown
Owner

Looking good. thanks!

@ppizarror ppizarror merged commit 8541a5d into ppizarror:master Mar 5, 2026
10 checks passed
@JaskRendix JaskRendix deleted the ruff branch March 5, 2026 14:39
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.

3 participants