pyl and do not error if ruff fix fails w/ burnettk
This commit is contained in:
parent
de01e0a3c9
commit
c818e01aed
|
@ -39,10 +39,7 @@ function run_autofixers() {
|
|||
fi
|
||||
|
||||
python_dirs=$(get_python_dirs)
|
||||
# python_files=$(find $python_dirs -type f -name "*.py" ! -name '.null-ls*' ! -name '_null-ls*')
|
||||
# Don't check things in git-ignore:
|
||||
python_files=$(git ls-files $python_dirs | grep .py$)
|
||||
ruff --fix $python_files
|
||||
ruff --fix $python_dirs || echo ''
|
||||
}
|
||||
|
||||
function run_pre_commmit() {
|
||||
|
|
|
@ -438,7 +438,10 @@ def process_instance_task_list(
|
|||
if bpmn_process is None:
|
||||
raise ApiError(
|
||||
error_code="bpmn_process_not_found",
|
||||
message=f"Cannot find a bpmn process with guid '{bpmn_process_guid}' for process instance '{process_instance.id}'",
|
||||
message=(
|
||||
f"Cannot find a bpmn process with guid '{bpmn_process_guid}' for process instance"
|
||||
f" '{process_instance.id}'"
|
||||
),
|
||||
status_code=400,
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue