mirror of
https://github.com/curl/curl.git
synced 2026-04-15 06:01:42 +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
|
|
@ -31,3 +31,5 @@ ruff check --extend-select=B007,B016,C405,C416,COM818,D200,D213,D204,D401,\
|
|||
D415,FURB129,N818,PERF401,PERF403,PIE790,PIE808,PLW0127,Q004,RUF010,SIM101,\
|
||||
SIM117,SIM118,TRY400,TRY401,RET503,RET504,UP004,B018,B904,RSE102,RET505,I001 \
|
||||
"$@"
|
||||
# Checks that are in preview only, since --preview otherwise turns them all on
|
||||
ruff check --preview --select=E301,E302,E303,E304,E305,E306,E502 "$@"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue