Skip to content

Commit

Permalink
Merge pull request #39 from coveord/feature/fix-typing
Browse files Browse the repository at this point in the history
* fix typing mistakes created from wrong imports
  • Loading branch information
jonapich authored May 4, 2023
2 parents f290460 + 80e8d5d commit 7abf2dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions github/Repository.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,11 @@ class Repository(CompletableGithubObject):
def get_collaborator_permission(
self, collaborator: Union[str, NamedUser]
) -> str: ...
def get_codescan_alerts(self) -> PaginatedList[CodeScanAlert]: ...
def get_codescan_alerts(
self, ref: Union[str, _NotSetType] = ...
) -> PaginatedList[CodeScanAlert]: ...
def get_code_scanning_analyses(
self, ref: Union[str, _NotSetType]
self, ref: Union[str, _NotSetType] = ...
) -> PaginatedList[CodeScanningAnalysis]: ...
def get_collaborators(
self, affiliation: Union[str, _NotSetType] = ...
Expand Down
4 changes: 3 additions & 1 deletion github/SecurityAndAnalysis.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from typing import Any, Dict

from github import AdvancedSecurity, SecretScanning, SecretScanningPushProtection
from github.AdvancedSecurity import AdvancedSecurity
from github.GithubObject import NonCompletableGithubObject
from github.SecretScanning import SecretScanning
from github.SecretScanningPushProtection import SecretScanningPushProtection

class SecurityAndAnalysis(NonCompletableGithubObject):
def __repr__(self) -> str: ...
Expand Down

0 comments on commit 7abf2dc

Please sign in to comment.