Skip to content

Commit

Permalink
Add Repo.url property
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Feb 2, 2024
1 parent ae33c5d commit 6ef9668
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jaraco/develop/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ class Repo(str):
def __init__(self, name):
self.session = self.get_session()

@property
def url(self):
return 'https://github.com/' + self

@classmethod
@functools.lru_cache()
def get_session(cls):
Expand Down

0 comments on commit 6ef9668

Please sign in to comment.