Skip to content

Commit fcc579a

Browse files
Bump black from 24.10.0 to 26.3.1 (#58)
* Bump black from 24.10.0 to 26.3.1 Bumps [black](https://github.com/psf/black) from 24.10.0 to 26.3.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](psf/black@24.10.0...26.3.1) --- updated-dependencies: - dependency-name: black dependency-version: 26.3.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> * Fix black * Fix CI --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: BlueManCZ <ivo97@centrum.cz>
1 parent 85b0c69 commit fcc579a

3 files changed

Lines changed: 104 additions & 50 deletions

File tree

.github/workflows/actions.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Black, Flake, Tests
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
branches: [master]
37

48
jobs:
59
build:

Pipfile.lock

Lines changed: 96 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sif.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,14 @@ def try_to_create_desktop_file(filename, app_name, app_id, wm_class, lo_fix=Fals
134134
def create_desktop_file(filename, app_name, app_id, wm_class):
135135
"""Creates hidden desktop file for Steam game."""
136136
desktop_file = open(HIDDEN_DESKTOP_FILES_DIR + "/" + filename + ".desktop", "w+")
137-
desktop_file.write(
138-
"""[Desktop Entry]
137+
desktop_file.write("""[Desktop Entry]
139138
Type=Application
140139
Name=%s
141140
Icon=steam_icon_%s
142141
Exec=steam steam://rungameid/%s
143142
Terminal=false
144143
StartupWMClass=%s
145-
NoDisplay=true"""
146-
% (app_name, app_id, app_id, wm_class)
147-
)
144+
NoDisplay=true""" % (app_name, app_id, app_id, wm_class))
148145
desktop_file.close()
149146

150147

@@ -399,7 +396,7 @@ def quit_handler(_, __):
399396
help="works only with --single option and forces a Proton specific WM_CLASS",
400397
)
401398

402-
(options, args) = parser.parse_args()
399+
options, args = parser.parse_args()
403400

404401
# Set constant variables
405402

0 commit comments

Comments
 (0)