feat: new commands in mm channels and gitea issues #6

Open
蔡雨翔524370910013 wants to merge 12 commits from arthurcai/Joint-Teapot:master into master
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 7bddebe806 - Show all commits

View File

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

View File

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