Skip to content

Commit

Permalink
Merge pull request #41428 from madmiraal/fix-python-style
Browse files Browse the repository at this point in the history
Fix new black style check failures in various files.
  • Loading branch information
akien-mga authored Aug 21, 2020
2 parents 8c4f556 + 5f092cf commit 2ba96f0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
8 changes: 6 additions & 2 deletions core/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,17 @@ env.CommandNoCache(
# Authors
env.Depends("#core/authors.gen.h", "../AUTHORS.md")
env.CommandNoCache(
"#core/authors.gen.h", "../AUTHORS.md", env.Run(core_builders.make_authors_header, "Generating authors header."),
"#core/authors.gen.h",
"../AUTHORS.md",
env.Run(core_builders.make_authors_header, "Generating authors header."),
)

# Donors
env.Depends("#core/donors.gen.h", "../DONORS.md")
env.CommandNoCache(
"#core/donors.gen.h", "../DONORS.md", env.Run(core_builders.make_donors_header, "Generating donors header."),
"#core/donors.gen.h",
"../DONORS.md",
env.Run(core_builders.make_donors_header, "Generating donors header."),
)

# License
Expand Down
8 changes: 6 additions & 2 deletions main/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ if env["tests"]:

env_main.Depends("#main/splash.gen.h", "#main/splash.png")
env_main.CommandNoCache(
"#main/splash.gen.h", "#main/splash.png", env.Run(main_builders.make_splash, "Building splash screen header."),
"#main/splash.gen.h",
"#main/splash.png",
env.Run(main_builders.make_splash, "Building splash screen header."),
)

env_main.Depends("#main/splash_editor.gen.h", "#main/splash_editor.png")
Expand All @@ -27,7 +29,9 @@ env_main.CommandNoCache(

env_main.Depends("#main/app_icon.gen.h", "#main/app_icon.png")
env_main.CommandNoCache(
"#main/app_icon.gen.h", "#main/app_icon.png", env.Run(main_builders.make_app_icon, "Building application icon."),
"#main/app_icon.gen.h",
"#main/app_icon.png",
env.Run(main_builders.make_app_icon, "Building application icon."),
)

lib = env_main.add_library("main", env.main_sources)
Expand Down
5 changes: 4 additions & 1 deletion platform/iphone/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ def configure(env):
env.Append(CPPDEFINES=["ICLOUD_ENABLED"])

env.Prepend(
CPPPATH=["$IPHONESDK/usr/include", "$IPHONESDK/System/Library/Frameworks/AudioUnit.framework/Headers",]
CPPPATH=[
"$IPHONESDK/usr/include",
"$IPHONESDK/System/Library/Frameworks/AudioUnit.framework/Headers",
]
)

env["ENV"]["CODESIGN_ALLOCATE"] = "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate"
Expand Down

0 comments on commit 2ba96f0

Please sign in to comment.