Skip to content

refactor(clippy-fix): replace explicit format args in all format strings - #250

Merged
ariebovenberg merged 2 commits into
ariebovenberg:mainfrom
kazie:fix-rust-formatting-with-clippy
Jul 19, 2025
Merged

refactor(clippy-fix): replace explicit format args in all format strings#250
ariebovenberg merged 2 commits into
ariebovenberg:mainfrom
kazie:fix-rust-formatting-with-clippy

Conversation

@kazie

@kazie kazie commented Jul 19, 2025

Copy link
Copy Markdown
Contributor

Ran cargo clippy --fix to replace valid formatting such as:

format!("A={}, B={}, C={}", a, b, c)

to more readable formatting:

format!("A={a}, B={b}, C={c}")

Improving the readability of the string-formatting code.

Description

Checklist

  • Build runs successfully
  • Type stubs updated
  • Docs updated
  • If docstrings were affected, check if they appear correctly in the docs as well as autocomplete

Release checklist (maintainers only)

  • Version updated in pyproject.toml
  • Version updated in src/whenever/__init__.py
  • Version updated in changelog
  • Branch merged
  • Tag created and pushed
  • Confirm publish job runs successfully
  • Github release created

kazie added 2 commits July 19, 2025 12:35
Ran `cargo clippy --fix` to replace valid formatting such as:

```rust
format!("A={}, B={}, C={}", a, b, c)
```

to more readable formatting:

```rust
format!("A={a}, B={b}, C={c}")
```

Improving the readability of the string-formatting code.
@ariebovenberg

Copy link
Copy Markdown
Owner

Thanks! I really need to get around to configuring clippy more strictly, so this kind of stuff gets flagged automatically.

@ariebovenberg
ariebovenberg merged commit 63b7958 into ariebovenberg:main Jul 19, 2025
22 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