mirror of
https://github.com/curl/curl.git
synced 2026-05-21 22:36:20 +03:00
pythonlint.sh: make it fail on error, fix ruff warnings in pytest
Follow-up toa5542c23e7#21289 Follow-up to17e8200733Closes #21597
This commit is contained in:
parent
e25e497c5e
commit
a36c571984
3 changed files with 5 additions and 3 deletions
|
|
@ -27,6 +27,8 @@
|
|||
# locations, or all Python files found in the current directory tree by
|
||||
# default.
|
||||
|
||||
set -eu
|
||||
|
||||
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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue