Guake / guake

Drop-down terminal for GNOME
https://guake.github.io
GNU General Public License v2.0
4.37k stars 577 forks source link

Prevent the use of non-image files as a background image #2206

Closed 0scvr closed 8 months ago

0scvr commented 8 months ago

Please follow these steps before submitting a new Pull Request to Guake:

Fixes #2205

Davidy22 commented 8 months ago

The change looks fine, but looks like code style checks are moaning. Running black should resolve this, I assume it's because of the very long line that the set_string becomes with this patch.

Davidy22 commented 8 months ago

Still a red cross, you should be able to enable CI on your fork to get faster feedback, running make check locally should also work.

Davidy22 commented 8 months ago

Same check is complaining, if you just run black on the file it should do the formatting for you. Is make check passing locally for you?

0scvr commented 8 months ago

Same check is complaining, if you just run black on the file it should do the formatting for you. Is make check passing locally for you?

make gives me errors. I think pipenv is the problem here.

Davidy22 commented 8 months ago

You can also run black --check * to confirm this specific check. There may be others, but I think this is probably the only one.