Skip to content

Commit ae8b7d4

Browse files
committed
Fix swift-format, disable unacceptable language, fix shellcheck issue
Signed-off-by: Adam Fowler <[email protected]>
1 parent a4f2674 commit ae8b7d4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Soundness
1717
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
1818
with:
19-
unacceptable_language_check_word_list: "blacklist whitelist sane sanity insane insanity killing hang hung hanged hanging"
19+
unacceptable_language_check_enabled: false # Valkey commands contain unacceptable language
2020

2121
unit-tests:
2222
runs-on: ubuntu-latest

.swift-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"NeverUseImplicitlyUnwrappedOptionals" : false,
3737
"NoAccessLevelOnExtensionDeclaration" : true,
3838
"NoAssignmentInExpressions" : true,
39-
"NoBlockComments" : true,
39+
"NoBlockComments" : false,
4040
"NoCasesWithOnlyFallthrough" : true,
4141
"NoEmptyTrailingClosureParentheses" : true,
4242
"NoLabelsInCasePatterns" : true,

dev/generate-transaction-commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function genWithoutContextParameter() {
1717

1818
echo -n ">(_ c0: C0"
1919
for ((n = 1; n<how_many; n +=1)); do
20-
echo -n ", _ c$((n)): C$(($n))"
20+
echo -n ", _ c$((n)): C$((n))"
2121
done
2222
echo -n ") async throws -> (Result<C0.Response, Error>"
2323
for ((n = 1; n<how_many; n +=1)); do

0 commit comments

Comments
 (0)