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
|
fi
|
||||||
|
|
||||||
python_dirs=$(get_python_dirs)
|
python_dirs=$(get_python_dirs)
|
||||||
# python_files=$(find $python_dirs -type f -name "*.py" ! -name '.null-ls*' ! -name '_null-ls*')
|
ruff --fix $python_dirs || echo ''
|
||||||
# Don't check things in git-ignore:
|
|
||||||
python_files=$(git ls-files $python_dirs | grep .py$)
|
|
||||||
ruff --fix $python_files
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function run_pre_commmit() {
|
function run_pre_commmit() {
|
||||||
|
|
|
@ -438,7 +438,10 @@ def process_instance_task_list(
|
||||||
if bpmn_process is None:
|
if bpmn_process is None:
|
||||||
raise ApiError(
|
raise ApiError(
|
||||||
error_code="bpmn_process_not_found",
|
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,
|
status_code=400,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue