cutile-python icon indicating copy to clipboard operation
cutile-python copied to clipboard

Remove redundant checks and tried to simplify some if else.

Open NikeNano opened this issue 1 month ago • 0 comments

Description

When reading through the code I noticed an unnecessary condition and early returns. Updated to simplify the code by flattening the structure and remove condition that is already checked. Let me know if I am nit picking to much. Juste likes to update things when I go over to help on open source projects and cuTile seems like an awesome project, thanks!

Checklist

  • [x] I am familiar with the Contributing Guidelines.
  • [x] New or existing tests cover these changes.
  • [x] The documentation is up to date with these changes.

NikeNano avatar Dec 18 '25 23:12 NikeNano