This commit is contained in:
蔡雨翔524370910013 2025-09-20 14:27:59 +08:00
parent c0f7a75dc8
commit 7bddebe806
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ repos:
hooks:
- id: pyupgrade
- repo: https://github.com/hadialqattan/pycln
rev: v2.4.0
rev: v2.5.0
hooks:
- id: pycln
args: [-a]
@ -25,6 +25,7 @@ repos:
rev: '1.7.5'
hooks:
- id: bandit
additional_dependencies: ['pbr']
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:

View File

@ -1004,7 +1004,9 @@ class Gitea:
)
break
except Exception:
pass
logger.warning(
f"Could not determine id of label '{label_name}' in {repo_name}"
)
if lid is None:
logger.warning(