File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ def _to_string(
144144 if value not in mapping and value not in mapping .values ():
145145 raise GMTValueError (
146146 value ,
147- description = "value for parameter {name!r}" if name else "value" ,
147+ description = f "value for parameter { name !r} " if name else "value" ,
148148 choices = mapping .keys (),
149149 )
150150 value = mapping .get (value , value )
Original file line number Diff line number Diff line change @@ -136,6 +136,7 @@ extend-select = [
136136 " D410" , # A blank line after section headings.
137137 " PLR6201" , # Use a set literal when testing for membership
138138 " PLW1514" , # {function_name} in text mode without explicit encoding argument
139+ " RUF027" , # Possible f-string without an f prefix
139140]
140141ignore = [
141142 " COM812" , # Do not always add the trailing commas
You can’t perform that action at this time.
0 commit comments