MAINT: Apply pre-commit

Remove byte-order-marker pre-commit check as there would be
many adjustments necessary
This commit is contained in:
Martin Thoma
2022-03-05 09:29:23 +01:00
parent f5e33ae38f
commit e64fb6795c
536 changed files with 6267 additions and 5556 deletions

View File

@@ -55,7 +55,7 @@ def reverseIt (howManyToReverse, triesSoFar)
# extract and reverse the first howManyToReverse elements of the array
subArray = $digitArray.take(howManyToReverse)
subArray.reverse!
# get the remaining elements of the original array
endArray = $digitArray.slice(howManyToReverse, ARRAYSIZE)
# append those elements to the reversed elements
@@ -108,4 +108,3 @@ while r != 0 do # zero will end the game
end
r = askHowManyToReverse
end