pygame icon indicating copy to clipboard operation
pygame copied to clipboard

Denested Code

Open Shidoengie opened this issue 11 months ago • 1 comments

Denested code blocks in various files in order to improve code readability

Shidoengie avatar Feb 29 '24 16:02 Shidoengie

Hello. Thanks for this, it's a good idea.

Looks like there are some test failures though.

Do you want to continue this? If so, it would be best to make a change and commit to smaller parts. Perhaps only change and commit one function at a time and push. That way the tests should run each time.

We now use the pre-commit tool for running code formatters/linters/etc.

python3 -m pip install pre-commit black ruff pylint
pre-commit run -a

illume avatar Jun 17 '24 06:06 illume