Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 1, 2023
1 parent e4ae21f commit b5bb5c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/deprecate/deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"The `%(source_name)s` was deprecated since v%(deprecated_in)s in favor of `%(target_path)s`."
" It will be removed in v%(remove_in)s."
)
#: Default template warning message for chnaging argument mapping
#: Default template warning message for changing argument mapping
TEMPLATE_WARNING_ARGUMENTS = (
"The `%(source_name)s` uses deprecated arguments: %(argument_map)s."
" They were deprecated since v%(deprecated_in)s and will be removed in v%(remove_in)s."
)
#: Tempalte for mapping from old to new examples
#: Template for mapping from old to new examples
TEMPLATE_ARGUMENT_MAPPING = "`%(old_arg)s` -> `%(new_arg)s`"
#: Default template warning message for no target func/method
TEMPLATE_WARNING_NO_TARGET = (
Expand Down
2 changes: 1 addition & 1 deletion src/deprecate/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_func_arguments_types_defaults(func: Callable) -> List[Tuple[str, Tuple,
func: a function to be xeamined
Returns:
sequence of details for each position/keyward argument
sequence of details for each position/keyword argument
Example:
>>> get_func_arguments_types_defaults(get_func_arguments_types_defaults)
Expand Down

0 comments on commit b5bb5c6

Please sign in to comment.