Skip to content

Commit 4a2942b

Browse files
Sajjoncompnerd
andauthored
Fix typos in: cmake, tools, utils, unittests, validation-test
Co-authored-by: Saleem Abdulrasool <compnerd@compnerd.org>
1 parent 39a9d23 commit 4a2942b

File tree

32 files changed

+60
-60
lines changed

32 files changed

+60
-60
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ if("${SWIFT_NATIVE_SWIFT_TOOLS_PATH}" STREQUAL "")
936936
set(SWIFT_NATIVE_SWIFT_TOOLS_PATH "${SWIFT_RUNTIME_OUTPUT_INTDIR}")
937937
set(SWIFT_EXEC_FOR_SWIFT_MODULES "${CMAKE_Swift_COMPILER}")
938938
if(NOT SWIFT_EXEC_FOR_SWIFT_MODULES)
939-
message(WARNING "BOOSTRAPPING set to OFF because no Swift compiler is defined")
939+
message(WARNING "BOOTSTRAPPING set to OFF because no Swift compiler is defined")
940940
set(BOOTSTRAPPING_MODE "OFF")
941941
endif()
942942
elseif(BOOTSTRAPPING_MODE MATCHES "BOOTSTRAPPING.*")

cmake/modules/SwiftConfigureSDK.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ macro(configure_sdk_unix name architectures)
323323
endif()
324324
set(SWIFT_SDK_${prefix}_USE_ISYSROOT FALSE)
325325

326-
# Static linking is suported on Linux and WASI
326+
# Static linking is supported on Linux and WASI
327327
if("${prefix}" STREQUAL "LINUX"
328328
OR "${prefix}" STREQUAL "LINUX_STATIC"
329329
OR "${prefix}" STREQUAL "WASI")

tools/SourceKit/lib/SwiftLang/SwiftASTManager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class ASTBuildOperation
315315
const std::vector<FileContent> FileContents;
316316

317317
/// Guards \c DependencyStamps. This prevents reading from \c DependencyStamps
318-
/// while it is being modified. It does not provide any ordering gurantees
318+
/// while it is being modified. It does not provide any ordering guarantees
319319
/// that \c DependencyStamps have been computed in \c buildASTUnit before they
320320
/// are accessed in \c matchesSourceState but that's fine (see comment on
321321
/// \c DependencyStamps).

tools/SourceKit/lib/SwiftLang/SwiftLangSupport.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ namespace {
208208
/// A simple FileSystemProvider that creates an InMemoryFileSystem for a given
209209
/// dictionary of file contents and overlays that on top of the real filesystem.
210210
class InMemoryFileSystemProvider: public SourceKit::FileSystemProvider {
211-
/// Provides the real filesystem, overlayed with an InMemoryFileSystem that
211+
/// Provides the real filesystem, overlaid with an InMemoryFileSystem that
212212
/// contains specified files at specified locations.
213213
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
214214
getFileSystem(OptionsDictionary &options, std::string &error) override {

tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ void SwiftLangSupport::getCursorInfo(
20992099
} else {
21002100
std::string Diagnostic; // Unused.
21012101
ResolvedValueRefCursorInfoPtr Info = new ResolvedValueRefCursorInfo(
2102-
/*SourcFile=*/nullptr, SourceLoc(),
2102+
/*SourceFile=*/nullptr, SourceLoc(),
21032103
const_cast<ValueDecl *>(Entity.Dcl),
21042104
/*CtorTyRef=*/nullptr,
21052105
/*ExtTyRef=*/nullptr, Entity.IsRef,
@@ -2585,7 +2585,7 @@ void SwiftLangSupport::findRelatedIdentifiersInFile(
25852585
#ifndef NDEBUG
25862586
for (auto loc : Locs.getLocations()) {
25872587
assert(loc.OldName == OldName &&
2588-
"Found related identfiers with different names?");
2588+
"Found related identifiers with different names?");
25892589
}
25902590
#endif
25912591

tools/SourceKit/tools/sourcekitd/include/sourcekitd/Service.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void disposeCancellationToken(SourceKitCancellationToken CancellationToken);
4747

4848
/// Returns \c true if \p Request is of a request kind that should be issued as
4949
/// a dispatch barrier of the message handling queue. In practice, this returns
50-
/// \c true for open, edit and close requets.
50+
/// \c true for open, edit and close requests.
5151
///
5252
/// This does not check if dispatch barriers have been enabled by the sourckitd
5353
/// client.

tools/libMockPlugin/MockPlugin.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static const llvm::json::Value substitute(const llvm::json::Value &value,
113113
// '.' <alphanum> -> object key.
114114
if (path.starts_with(".")) {
115115
if (subst->kind() != llvm::json::Value::Object)
116-
return "<substition error: not an object>";
116+
return "<substitution error: not an object>";
117117
path = path.substr(1);
118118
auto keyLength =
119119
path.find_if([](char c) { return !llvm::isAlnum(c) && c != '_'; });
@@ -125,20 +125,20 @@ static const llvm::json::Value substitute(const llvm::json::Value &value,
125125
// '[' <digit>+ ']' -> array index.
126126
if (path.starts_with("[")) {
127127
if (subst->kind() != llvm::json::Value::Array)
128-
return "<substition error: not an array>";
128+
return "<substitution error: not an array>";
129129
path = path.substr(1);
130130
auto idxlength = path.find_if([](char c) { return !llvm::isDigit(c); });
131131
size_t idx;
132132
(void)path.slice(0, idxlength).getAsInteger(10, idx);
133133
subst = &(*subst->getAsArray())[idx];
134134
path = path.substr(idxlength);
135135
if (!path.starts_with("]"))
136-
return "<substition error: missing ']' after digits>";
136+
return "<substitution error: missing ']' after digits>";
137137
path = path.substr(1);
138138
continue;
139139
}
140140
// Malformed.
141-
return "<substition error: malformed path>";
141+
return "<substitution error: malformed path>";
142142
}
143143
return *subst;
144144
}

tools/libSwiftScan/SwiftCaching.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ bool swiftscan_cas_prune_ondisk_data(swiftscan_cas_t cas,
246246
return false;
247247
}
248248

249-
/// Expand the invocation if there is repsonseFile into Args that are passed in
249+
/// Expand the invocation if there is responseFile into Args that are passed in
250250
/// the parameter. Return swift-frontend arguments in an ArrayRef, which has the
251251
/// first "-frontend" option dropped if needed.
252252
static llvm::ArrayRef<const char *>
@@ -966,7 +966,7 @@ static llvm::Error replayCompilation(SwiftScanReplayInstance &Instance,
966966
return Proxy.takeError();
967967

968968
if (Kind == file_types::ID::TY_CachedDiagnostics) {
969-
assert(!DiagnosticsOutput && "more than 1 diagnotics found");
969+
assert(!DiagnosticsOutput && "more than 1 diagnostics found");
970970
DiagnosticsOutput = std::move(*Proxy);
971971
} else
972972
OutputProxies.emplace_back(

tools/lldb-moduleimport-test/lldb-moduleimport-test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ int main(int argc, char **argv) {
250250
desc("Dump the imported module after checking it imports just fine"),
251251
cat(Visible));
252252

253-
opt<bool> Verbose("verbose", desc("Dump informations on the loaded module"),
253+
opt<bool> Verbose("verbose", desc("Dump information on the loaded module"),
254254
cat(Visible));
255255

256256
opt<std::string> Filter("filter", desc("triple for filtering modules"),

tools/swift-ide-test/swift-ide-test.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ static llvm::cl::opt<bool> CodeCompletionAddCallWithNoDefaultArgs(
508508

509509
static llvm::cl::list<std::string>
510510
ConformingMethodListExpectedTypes("conforming-methods-expected-types",
511-
llvm::cl::desc("Set expected types for comforming method list"),
511+
llvm::cl::desc("Set expected types for conforming method list"),
512512
llvm::cl::cat(Category));
513513

514514
// '-syntax-coloring' options.
@@ -3049,7 +3049,7 @@ static int doPrintModules(const CompilerInvocation &InitInvok,
30493049
registerIDERequestFunctions(CI.getASTContext().evaluator);
30503050
auto &Context = CI.getASTContext();
30513051

3052-
// Load implict imports so that Clang importer can use it.
3052+
// Load implicit imports so that Clang importer can use it.
30533053
for (auto unloadedImport :
30543054
CI.getMainModule()->getImplicitImportInfo().AdditionalUnloadedImports) {
30553055
(void)Context.getModule(unloadedImport.module.getModulePath());
@@ -3116,7 +3116,7 @@ static int doPrintHeaders(const CompilerInvocation &InitInvok,
31163116
registerIDERequestFunctions(CI.getASTContext().evaluator);
31173117
auto &Context = CI.getASTContext();
31183118

3119-
// Load implict imports so that Clang importer can use it.
3119+
// Load implicit imports so that Clang importer can use it.
31203120
for (auto unloadedImport :
31213121
CI.getMainModule()->getImplicitImportInfo().AdditionalUnloadedImports) {
31223122
(void)Context.getModule(unloadedImport.module.getModulePath());

tools/swift-inspect/Sources/swift-inspect/Operations/DumpConcurrency.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -313,20 +313,20 @@ fileprivate class ConcurrencyDumper {
313313
let taskToThread: [swift_addr_t: UInt64] =
314314
Dictionary(threadCurrentTasks.map{ ($1, $0) }, uniquingKeysWith: { $1 })
315315

316-
var lastChilds: [Bool] = []
316+
var lastChildFlags: [Bool] = []
317317

318318
let hierarchy = taskHierarchy()
319319
for (i, (level, lastChild, task)) in hierarchy.enumerated() {
320-
lastChilds.removeSubrange(level...)
321-
lastChilds.append(lastChild)
320+
lastChildFlags.removeSubrange(level...)
321+
lastChildFlags.append(lastChild)
322322

323323
let prevEntry = i > 0 ? hierarchy[i - 1] : nil
324324

325325
let levelDidIncrease = level > (prevEntry?.level ?? -1)
326326

327327
var prefix = ""
328-
for lastChild in lastChilds {
329-
prefix += lastChild ? " " : " | "
328+
for lastChildFlag in lastChildFlags {
329+
prefix += lastChildFlag ? " " : " | "
330330
}
331331
prefix += " "
332332
let firstPrefix = String(prefix.dropLast(5) + (

tools/swift-inspect/Sources/swift-inspect/Operations/DumpGenericMetadata.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ internal struct DumpGenericMetadata: ParsableCommand {
168168
}
169169

170170
private func dumpText(process: any RemoteProcess, generics: [Metadata]) throws {
171-
var errorneousMetadata: [(ptr: swift_reflection_ptr_t, name: String)] = []
171+
var erroneousMetadata: [(ptr: swift_reflection_ptr_t, name: String)] = []
172172
var output = try Output(genericMetadataOptions.outputFile)
173173
print("\(process.processName)(\(process.processIdentifier)):\n", to: &output)
174174
print("Address", "Allocation", "Size", "Offset", "isArrayOfClass", "Name", separator: "\t", to: &output)
@@ -178,7 +178,7 @@ internal struct DumpGenericMetadata: ParsableCommand {
178178
print("\(hex: allocation.ptr)\t\(allocation.size)\t\(offset)", terminator: "\t", to: &output)
179179
} else {
180180
if $0.garbage {
181-
errorneousMetadata.append((ptr: $0.ptr, name: $0.name))
181+
erroneousMetadata.append((ptr: $0.ptr, name: $0.name))
182182
}
183183
print("???\t??\t???", terminator: "\t", to: &output)
184184
}
@@ -189,9 +189,9 @@ internal struct DumpGenericMetadata: ParsableCommand {
189189
}
190190
}
191191

192-
if errorneousMetadata.count > 0 {
192+
if erroneousMetadata.count > 0 {
193193
print("Warning: The following metadata was not found in any DATA or AUTH segments, may be garbage.", to: &output)
194-
errorneousMetadata.forEach {
194+
erroneousMetadata.forEach {
195195
print("\(hex: $0.ptr)\t\($0.name)", to: &output)
196196
}
197197
}

unittests/AST/ImportTests.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ImportPathContext {
2525
public:
2626
ImportPathContext() = default;
2727

28-
/// Hepler routine for building ImportPath
28+
/// Helper routine for building ImportPath
2929
/// Build()
3030
/// @see ImportPathBuilder
3131
inline ImportPath Build(StringRef Name) noexcept {

utils/api_checker/dump-sdk.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sh "$DIR/sdk-module-lists/create-module-lists.sh"
77
MacSDKPath=$(xcrun -sdk macosx -show-sdk-path)
88
IphoneOSSDKPath=$(xcrun -sdk iphoneos -show-sdk-path)
99
AppleTVOSSDKPath=$(xcrun -sdk appletvos -show-sdk-path)
10-
WathOSSDKPath=$(xcrun -sdk watchos -show-sdk-path)
10+
WatchOSSDKPath=$(xcrun -sdk watchos -show-sdk-path)
1111

1212
XCTestMac="$MacSDKPath/../../Library/Frameworks/"
1313
XCTestIphone="$IphoneOSSDKPath/../../Library/Frameworks/"
@@ -42,7 +42,7 @@ if [[ -z "$MODULE" ]]; then
4242
$SWIFT_API_DIGESTER -target x86_64-apple-macosx10.15 -o "$BASEDIR/macos$XCODE_VER.json" -dump-sdk -sdk "$MacSDKPath" -module-list-file "/tmp/modules-osx.txt" -F "$XCTestMac" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
4343
$SWIFT_API_DIGESTER -target arm64-apple-ios13.5 -o "$BASEDIR/ios$XCODE_VER.json" -dump-sdk -sdk "$IphoneOSSDKPath" -module-list-file "/tmp/modules-iphoneos.txt" -F "$XCTestIphone" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
4444
$SWIFT_API_DIGESTER -target arm64-apple-tvos13.4 -o "$BASEDIR/tvos$XCODE_VER.json" -dump-sdk -sdk "$AppleTVOSSDKPath" -module-list-file "/tmp/modules-tvos.txt" -F "$XCTestTV" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
45-
$SWIFT_API_DIGESTER -target armv7k-apple-watchos6.2 -o "$BASEDIR/watchos$XCODE_VER.json" -dump-sdk -sdk "$WathOSSDKPath" -module-list-file "/tmp/modules-watchos.txt" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
45+
$SWIFT_API_DIGESTER -target armv7k-apple-watchos6.2 -o "$BASEDIR/watchos$XCODE_VER.json" -dump-sdk -sdk "$WatchOSSDKPath" -module-list-file "/tmp/modules-watchos.txt" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
4646
$SWIFT_API_DIGESTER -target x86_64-apple-macosx10.15 -o "$BASEDIR/macos-stdlib$XCODE_VER.json" -dump-sdk -sdk "$MacSDKPath" -module Swift -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
4747
else
4848
ALL_MODULE_DIR="$BASEDIR/Xcode$XCODE_VER"
@@ -60,6 +60,6 @@ else
6060
$SWIFT_API_DIGESTER -target x86_64-apple-macosx10.15 -o "$MODULE_DIR/macos.json" -dump-sdk -sdk "$MacSDKPath" -module "$MODULE" -F "$XCTestMac" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
6161
$SWIFT_API_DIGESTER -target arm64-apple-ios13.5 -o "$MODULE_DIR/ios.json" -dump-sdk -sdk "$IphoneOSSDKPath" -module "$MODULE" -F "$XCTestIphone" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
6262
$SWIFT_API_DIGESTER -target arm64-apple-tvos13.4 -o "$MODULE_DIR/tvos.json" -dump-sdk -sdk "$AppleTVOSSDKPath" -module "$MODULE" -F "$XCTestTV" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
63-
$SWIFT_API_DIGESTER -target armv7k-apple-watchos6.2 -o "$MODULE_DIR/watchos.json" -dump-sdk -sdk "$WathOSSDKPath" -module "$MODULE" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
63+
$SWIFT_API_DIGESTER -target armv7k-apple-watchos6.2 -o "$MODULE_DIR/watchos.json" -dump-sdk -sdk "$WatchOSSDKPath" -module "$MODULE" -module-cache-path "$DumpDir/ModuleCache" -swift-version $SWIFT_VER
6464
done
6565
fi

utils/build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ function Build-CMakeProject {
10271027

10281028
if ($Platform -eq "Windows") {
10291029
$SwiftArgs += @("-Xlinker", "/INCREMENTAL:NO")
1030-
# Swift Requries COMDAT folding and de-duplication
1030+
# Swift requires COMDAT folding and de-duplication
10311031
$SwiftArgs += @("-Xlinker", "/OPT:REF")
10321032
$SwiftArgs += @("-Xlinker", "/OPT:ICF")
10331033
}
@@ -1194,7 +1194,7 @@ function Build-WiXProject() {
11941194
if (-not $Bundle) {
11951195
# WiX v4 will accept a semantic version string for Bundles,
11961196
# but Packages still require a purely numerical version number,
1197-
# so trim any semantic versionning suffixes
1197+
# so trim any semantic versioning suffixes
11981198
$ProductVersionArg = [regex]::Replace($ProductVersion, "[-+].*", "")
11991199
}
12001200

utils/gen-unicode-data/Sources/GenNormalization/Decomp.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func getDecompData(
3434
let decomp = components[5]
3535

3636
// We either 1. don't have decompositions, or 2. the decompositions is for
37-
// compatibile forms. We only care about NFD, so ignore these cases.
37+
// compatible forms. We only care about NFD, so ignore these cases.
3838
if decomp == "" || decomp.hasPrefix("<") {
3939
continue
4040
}

utils/gyb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def split_lines(s):
5050

5151
# Note: Where "# Absorb" appears below, the regexp attempts to eat up
5252
# through the end of ${...} and %{...}% constructs. In reality we
53-
# handle this with the Python tokenizer, which avoids mis-detections
53+
# handle this with the Python tokenizer, which avoids misdetections
5454
# due to nesting, comments and strings. This extra absorption in the
5555
# regexp facilitates testing the regexp on its own, by preventing the
5656
# interior of some of these constructs from being treated as literal

utils/line-directive

+5-5
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ def run():
340340
... // Licensed under Apache License v2.0 with Runtime Library Exception
341341
... //
342342
... // See https://swift.org/LICENSE.txt for license information
343-
... // See https://swift.org/CONTRIBUTORS.txt for the list of Swift projec
343+
... // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project
344344
... //
345345
... //===-----------------------------------------------------------------
346346
...
@@ -408,7 +408,7 @@ def run():
408408
... return _base.underestimatedCount
409409
... }
410410
...
411-
... /// Creates an instance with elements `transform(x)` for each elemen
411+
... /// Creates an instance with elements `transform(x)` for each element
412412
... /// `x` of base.
413413
... @_inlineable
414414
... @_versioned
@@ -433,7 +433,7 @@ def run():
433433
... // ###sourceLocation(file: "/public/core/Map.swift.gyb", line: 108)
434434
...
435435
... /// A `Collection` whose elements consist of those in a `Base`
436-
... /// `Collection` passed through a transform function returning `Elemen
436+
... /// `Collection` passed through a transform function returning `Element`
437437
... /// These elements are computed lazily, each time they're read, by
438438
... /// calling the transform function on a base element.
439439
... @_fixed_layout
@@ -471,7 +471,7 @@ def run():
471471
... // ###sourceLocation(file: "/public/core/Map.swift.gyb", line: 108)
472472
...
473473
... /// A `Collection` whose elements consist of those in a `Base`
474-
... /// `Collection` passed through a transform function returning `Elemen
474+
... /// `Collection` passed through a transform function returning `Element`
475475
... /// These elements are computed lazily, each time they're read, by
476476
... /// calling the transform function on a base element.
477477
... @_fixed_layout
@@ -509,7 +509,7 @@ def run():
509509
... // ###sourceLocation(file: "/public/core/Map.swift.gyb", line: 108)
510510
...
511511
... /// A `Collection` whose elements consist of those in a `Base`
512-
... /// `Collection` passed through a transform function returning `Elemen
512+
... /// `Collection` passed through a transform function returning `Element`
513513
... /// These elements are computed lazily, each time they're read, by
514514
... /// calling the transform function on a base element.
515515
... @_fixed_layout

utils/parser-lib/profile-input.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ class BrowserViewController: UIViewController {
294294
self.displayedPopoverController = nil
295295
}
296296

297-
// If we are displying a private tab, hide any elements in the tab that we wouldn't want shown
297+
// If we are displaying a private tab, hide any elements in the tab that we wouldn't want shown
298298
// when the app is in the home switcher
299299
guard let privateTab = tabManager.selectedTab, privateTab.isPrivate else {
300300
return
@@ -1104,7 +1104,7 @@ class BrowserViewController: UIViewController {
11041104
postLocationChangeNotificationForTab(tab, navigation: navigation)
11051105

11061106
// Fire the readability check. This is here and not in the pageShow event handler in ReaderMode.js anymore
1107-
// because that event wil not always fire due to unreliable page caching. This will either let us know that
1107+
// because that event will not always fire due to unreliable page caching. This will either let us know that
11081108
// the currently loaded page can be turned into reading mode or if the page already is in reading mode. We
11091109
// ignore the result because we are being called back asynchronous when the readermode status changes.
11101110
webView.evaluateJavaScript("\(ReaderModeNamespace).checkReadability()", completionHandler: nil)

utils/recursive-lipo

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def merge_lipo_files(src_root_dirs, file_list, dest_root_dir, verbose=False,
128128
"-- Warning: non-executable source files are different, " +
129129
"skipping: %s" % file_paths)
130130
else:
131-
print("-- Warning: Unsupport file type, skipping: %s" % file_paths)
131+
print("-- Warning: Unsupported file type, skipping: %s" % file_paths)
132132

133133

134134
def main():

utils/swift-bench.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
r"\s*\(\s*\)" # argument list
5757
r"\s*->\s*Int\s*" # return type
5858
r"({)?" # opening brace of the function body
59-
r"\s*$" # whitespace ot the end of the line
59+
r"\s*$" # whitespace at the end of the line
6060
)
6161

6262

0 commit comments

Comments
 (0)