Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Jan 19, 2026

https://docs.astral.sh/ruff/rules/missing-f-string-syntax/

It helps find the following error:

ruff check --fix --exit-zero pygmt doc/conf.py examples
RUF027 Possible f-string without an `f` prefix
   --> pygmt/alias.py:147:33
    |
145 |                 raise GMTValueError(
146 |                     value,
147 |                     description="value for parameter {name!r}" if name else "value",
    |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
148 |                     choices=mapping.keys(),
149 |                 )
    |
help: Add `f` prefix

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog final review call This PR requires final review and approval from a second reviewer labels Jan 19, 2026
@seisman seisman added this to the 0.19.0 milestone Jan 19, 2026
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Jan 19, 2026
@seisman seisman merged commit 29dda16 into main Jan 19, 2026
25 of 27 checks passed
@seisman seisman deleted the fix-msg branch January 19, 2026 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants