Skip to content

update to ruff 0.13.0#22665

Merged
cburroughs merged 3 commits intopantsbuild:mainfrom
cburroughs:cbs/ruff-0.13
Sep 24, 2025
Merged

update to ruff 0.13.0#22665
cburroughs merged 3 commits intopantsbuild:mainfrom
cburroughs:cbs/ruff-0.13

Conversation

@cburroughs
Copy link
Copy Markdown
Contributor

@cburroughs cburroughs self-assigned this Sep 17, 2025
assert len(report_files) == 1
assert "f.py:1:5: F541" in report_files[0].content.decode()
assert "f.py:1:5" in report_files[0].content.decode()
assert "F541" in report_files[0].content.decode()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new output looks like:

F541 [*] f-string without any placeholders
 --> f.py:1:5
  |
1 | a = f"string without any placeholders"
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
help: Remove extraneous `f` prefix

@cburroughs cburroughs marked this pull request as ready for review September 18, 2025 15:53
@cburroughs cburroughs enabled auto-merge (squash) September 24, 2025 18:57
@cburroughs cburroughs merged commit 59e37c4 into pantsbuild:main Sep 24, 2025
24 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