Skip to content

Commit

Permalink
Type Annotations: core.deprecations
Browse files Browse the repository at this point in the history
- Resolves Issue #696
- Related to PR #628
  • Loading branch information
derks committed Jun 24, 2024
1 parent 3a636db commit e502cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Refactoring:
- `[core.cache]` [Issue #693](https://github.com/datafolklabs/cement/issues/693)
- `[core.config]` [Issue #694](https://github.com/datafolklabs/cement/issues/694)
- `[core.controller]` [Issue #695](https://github.com/datafolklabs/cement/issues/695)
- `[core.deprecations]` [Issue #696](https://github.com/datafolklabs/cement/issues/696)
- `[core.exc]` [Issue #697](https://github.com/datafolklabs/cement/issues/697)
- `[core.interface]` [Issue #702](https://github.com/datafolklabs/cement/issues/702)
- `[core.meta]` [Issue #705](https://github.com/datafolklabs/cement/issues/705)
Expand Down
2 changes: 1 addition & 1 deletion cement/core/deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}


def deprecate(deprecation_id: str):
def deprecate(deprecation_id: str) -> None:
deprecation_id = str(deprecation_id)
msg = DEPRECATIONS[deprecation_id]
total_msg = f"{msg}. See: https://docs.builtoncement.com/release-information/deprecations#{deprecation_id}" # noqa: E501
Expand Down

0 comments on commit e502cab

Please sign in to comment.