-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50aad4d
commit 5184789
Showing
6 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.2.3 | ||
current_version = 0.3.0 | ||
commit = True | ||
tag = True | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ | |
2020 Dominic Davis-Foster <[email protected]> | ||
""" | ||
|
||
__version__ = "0.2.3" | ||
__version__ = "0.3.0" | ||
|
||
repo_root = pathlib.Path(__file__).parent | ||
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ author: 'Dominic Davis-Foster' | |
email: '[email protected]' | ||
username: 'repo-helper' | ||
assignee: 'domdfcoding' | ||
version: '0.2.3' | ||
version: '0.3.0' | ||
license: 'MIT' | ||
short_desc: "Manage GitHub repositories with repo-helper." | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
__author__: str = "Dominic Davis-Foster" | ||
__copyright__: str = "2020 Dominic Davis-Foster" | ||
__license__: str = "MIT License" | ||
__version__: str = "0.2.3" | ||
__version__: str = "0.3.0" | ||
__email__: str = "[email protected]" | ||
|
||
__all__ = [ | ||
|
@@ -112,7 +112,7 @@ class GitHubManager(RepoHelper): | |
:param verbose: Whether to show information on the GitHub API rate limit. | ||
:param colour: Whether to use coloured output. | ||
.. versionchanged:: 0.2.3 | ||
.. versionchanged:: 0.3.0 | ||
Added the ``verbose`` and ``colour`` options. | ||
""" # noqa: D400 | ||
|
@@ -124,14 +124,14 @@ class GitHubManager(RepoHelper): | |
""" | ||
Whether to show information on the GitHub API rate limit. | ||
.. versionadded: 0.2.3 | ||
.. versionadded: 0.3.0 | ||
""" | ||
|
||
colour: Optional[bool] | ||
""" | ||
Whether to use coloured output. | ||
.. versionadded: 0.2.3 | ||
.. versionadded: 0.3.0 | ||
""" | ||
|
||
def __init__( | ||
|
@@ -163,7 +163,7 @@ def new(self, org: bool = False) -> int: | |
:param org: Whether the repository should be created for the organisation set as ``username``, | ||
or for the authenticated user (default). | ||
.. versionchanged:: 0.2.3 | ||
.. versionchanged:: 0.3.0 | ||
Removed the ``verbose`` option. Provide it to the class constructor instead. | ||
|
@@ -202,7 +202,7 @@ def update(self, org: bool = False) -> int: | |
:param org: Whether the repository should be created for the organisation set as ``username``, | ||
or for the authenticated user (default). | ||
.. versionchanged:: 0.2.3 | ||
.. versionchanged:: 0.3.0 | ||
Removed the ``verbose`` option. Provide it to the class constructor instead. | ||
|
@@ -253,7 +253,7 @@ def secrets(self, org: bool = False) -> int: | |
:param org: Whether the repository should be created for the organisation set as ``username``, | ||
or for the authenticated user (default). | ||
.. versionadded:: 0.2.3 | ||
.. versionadded:: 0.3.0 | ||
.. versionchanged:: 0.3.0 Added the ``org`` argument. | ||
""" | ||
|
@@ -386,7 +386,7 @@ def encrypt_secret(public_key: str, secret_value: str) -> str: | |
:param public_key: | ||
:param secret_value: | ||
.. versionadded: 0.2.3 | ||
.. versionadded: 0.3.0 | ||
""" | ||
|
||
public_key = public.PublicKey(public_key.encode("utf-8"), encoding.Base64Encoder()) | ||
|