这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Since we no longer support very old Pythons, modernize by converting many% and format() expressions to f-strings, except

  • those in mycli/main.py
  • those under test/
  • those related to logging (which are recommended to use lazy % formatting)

Incidentally restore what seems to be a missing period in a favorite queries message, for consistency.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format to lint and format the code.

Since we no longer support very old Pythons, modernize by converting
many % and format() expressions to f-strings, except

 * those in mycli/main.py
 * those under test/
 * those related to logging (which are recommended to use lazy %
   formatting)

Incidentally restore what seems to be a missing period in a favorite
queries message, for consistency.
@rolandwalker rolandwalker self-assigned this Aug 16, 2025
@rolandwalker rolandwalker merged commit 317a1f3 into main Aug 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants