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

cs_gestures.py: Cleaning up Python #11726

Merged
merged 1 commit into from
Jun 26, 2023
Merged

Conversation

rcalixte
Copy link
Member

  • Remove unnecessary semicolons
  • Clean up whitespace
  • Use f-strings for string interpolation
  • Use enumerate to generate a counter for an iterable
  • Clean up conditional block to use map and return structure for improved readability
  • Remove unused exception variable
  • Clean up comparison to None
  • Remove unnecessary .keys() call

@mtwebster
Copy link
Member

Those sneaky semicolons...

@mtwebster mtwebster merged commit 21f963d into linuxmint:master Jun 26, 2023
2 checks passed
@rcalixte rcalixte deleted the gestures_py branch June 27, 2023 01:10
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.

2 participants