spyoungtech / FreeSimpleGUI

The free-forever GUI library
GNU Lesser General Public License v3.0
272 stars 35 forks source link

Formatted `FreeSimpleGUI` with the `black` formatter, fixed spelling … #12

Closed armstjc closed 2 months ago

armstjc commented 2 months ago

…errors

spyoungtech commented 2 months ago

black is already used in the pre-commit configuration. It seems like you've introduced some formatting changes that are more strict than this spec.

The preferred style is also to use single quotes, not double quotes. Your PR introduces the use of double quotes in fstrings which does not match the style of the rest of the project.

Also, your PR introduces changes that causes FreeSimpleGUI to not to work at all. Please make sure to test your code changes:

pip install -e .  # local editable install of FreeSimpleGUI
python DemoPrograms\Demo_All_Elements.py  # make sure this works