Skip to content

Commit 395678c

Browse files
committed
Quality pass
1 parent 71686f6 commit 395678c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sonar/webhooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def __init__(self, endpoint: pf.Platform, name: str, url: str, secret: Optional[
6060
WebHook.CACHE.put(self)
6161

6262
@classmethod
63-
def create(cls, endpoint: pf.Platform, name: str, url: str, secret: Optional[str], project: Optional[str]) -> WebHook:
63+
def create(cls, endpoint: pf.Platform, name: str, url: str, secret: Optional[str] = None, project: Optional[str] = None) -> WebHook:
6464
"""Creates a WebHook object in SonarQube
6565
6666
:param Platform endpoint: Reference to the SonarQube platform

0 commit comments

Comments
 (0)