tests: make whitespace between functions and classes consistent

Mostly, this means two blank lines between classes and functions and one
line between methods. Since these checks are currently in preview, they
are done in a separate ruff invocation to avoid turning ALL the preview
checks on at the same time.
This commit is contained in:
Dan Fandrich 2026-04-05 09:00:55 -07:00
parent 98e470b3a8
commit 17e8200733
8 changed files with 23 additions and 1 deletions

View file

@ -72,6 +72,7 @@ def CombinationRepetitionUtil(chosen, arr, badarr, index,
CombinationRepetitionUtil(chosen, arr, badarr, index,
r, start + 1, end)
# The main function that prints all
# combinations of size r in arr[] of
# size n. This function mainly uses
@ -86,6 +87,7 @@ def CombinationRepetition(arr, badarr, n, r):
# temporary array 'chosen[]'
CombinationRepetitionUtil(chosen, arr, badarr, 0, r, 0, n)
# Driver code
badarr = [ '--ech grease', '--ech false', '--ech ecl:$badecl', '--ech pn:$badpn' ]
goodarr = [ '--ech hard', '--ech true', '--ech ecl:$goodecl', '--ech pn:$goodpn' ]