mirror of
https://github.com/curl/curl.git
synced 2026-08-05 08:46:15 +03:00
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:
parent
98e470b3a8
commit
17e8200733
8 changed files with 23 additions and 1 deletions
|
|
@ -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' ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue