Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
  • Loading branch information
seisman and yvonnefroehlich authored Dec 26, 2024
commit 4b74f99a7a12d604d0605da390ac064191e3d1f5
5 changes: 3 additions & 2 deletions doc/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,11 @@ When making incompatible changes, we should follow the process:

To rename a function parameter, add the `@deprecate_parameter` decorator near the top
after the `@fmt_docstring` decorator but before the `@use_alias` decorator (if those two
exist). A `TODO` comment should also be added to indicate the deprecation period (see below). Here is an example:
exist). A `TODO` comment should also be added to indicate the deprecation period (see below).
Here is an example:

```python
# TODO(PyGMT>=0.6.0): Remove the deprecated `columns` parameter.
# TODO(PyGMT>=0.6.0): Remove the deprecated "columns" parameter.
@fmt_docstring
@deprecate_parameter("columns", "incols", "v0.4.0", remove_version="v0.6.0")
@use_alias(J="projection", R="region", V="verbose", i="incols")
Expand Down
Loading