Skip to content

Comments

Omit code frames for fixes with empty ranges#12304

Merged
charliermarsh merged 4 commits intomainfrom
charlie/frame
Jul 12, 2024
Merged

Omit code frames for fixes with empty ranges#12304
charliermarsh merged 4 commits intomainfrom
charlie/frame

Conversation

@charliermarsh
Copy link
Member

Summary

Closes #12291.

Test Plan

❯ cargo run check ../uv/foo --select INP
/Users/crmarsh/workspace/uv/foo/bar/baz.py:1:1: INP001 File `/Users/crmarsh/workspace/uv/foo/bar/baz.py` is part of an implicit namespace package. Add an `__init__.py`.
Found 1 error.

@charliermarsh charliermarsh added the cli Related to the command-line interface label Jul 12, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) July 12, 2024 14:34
Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

Nice!

@charliermarsh charliermarsh merged commit 940df67 into main Jul 12, 2024
@charliermarsh charliermarsh deleted the charlie/frame branch July 12, 2024 15:21
@adamtheturtle
Copy link

The responsiveness of Astral is incredible. Thanks all!

@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Related to the command-line interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

INP001 outputs the code of the file which is part of an implicit namespace package

4 participants