-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1d992f4
commit 3c13f05
Showing
7 changed files
with
11 additions
and
11 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.3.0 | ||
current_version = 0.3.1 | ||
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 @@ | |
2021 Dominic Davis-Foster <[email protected]> | ||
""" | ||
|
||
__version__ = "0.3.0" | ||
__version__ = "0.3.1" | ||
repo_root = pathlib.Path(__file__).parent | ||
install_requires = (repo_root / "requirements.txt").read_text(encoding="utf-8").split('\n') | ||
extras_require = {} |
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 |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
__author__: str = "Dominic Davis-Foster" | ||
__copyright__: str = "2021 Dominic Davis-Foster" | ||
__license__: str = "MIT License" | ||
__version__: str = "0.3.0" | ||
__version__: str = "0.3.1" | ||
__email__: str = "[email protected]" | ||
|
||
__all__ = [ | ||
|
@@ -179,7 +179,7 @@ def kwargs_from_node( | |
""" | ||
Returns a mapping of argument names to the AST nodes representing their values, for the given function call. | ||
.. versionadded:: 0.3.0 | ||
.. versionadded:: 0.3.1 | ||
:param node: | ||
:param posarg_names: Either a list of positional argument names for the function, or the function object. | ||
|
@@ -201,7 +201,7 @@ def get_attribute_name(node: ast.AST) -> Iterable[str]: | |
""" | ||
Returns the elements of the dotted attribute name for the given AST node. | ||
.. versionadded:: 0.3.0 | ||
.. versionadded:: 0.3.1 | ||
:param node: | ||
|
@@ -224,7 +224,7 @@ def get_contextmanagers(with_node: ast.With) -> Dict[Tuple[str, ...], ast.withit | |
""" | ||
For the given ``with`` block, returns a mapping of the contextmanager names to the individual nodes. | ||
.. versionadded:: 0.3.0 | ||
.. versionadded:: 0.3.1 | ||
:param with_node: | ||
""" | ||
|
@@ -245,7 +245,7 @@ def get_constants(module: ast.Module) -> Dict[str, Any]: | |
""" | ||
Returns a ``name: value`` mapping of constants in the given module. | ||
.. versionadded:: 0.3.0 | ||
.. versionadded:: 0.3.1 | ||
:param module: | ||
""" | ||
|
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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ copyright_years: '2021' | |
author: 'Dominic Davis-Foster' | ||
email: '[email protected]' | ||
username: 'domdfcoding' | ||
version: '0.3.0' | ||
version: '0.3.1' | ||
license: 'MIT' | ||
short_desc: "Some handy helper functions for Python's AST module." | ||
|
||
|