Replies: 2 comments
-
Hey there, if I understand your question correctly, the answer is no as Ruff cannot currently resolve symbols from other files. Here's an issue that tracks the feature: #7447 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh excellent, thank you!
…On Sat, 1 Feb 2025 at 13:20, Tom Kuson ***@***.***> wrote:
Hey there, if I understand your question correctly, the answer is no as
Ruff cannot currently resolve symbols from other files. Here's an issue
that tracks the feature: #7447
<#7447>
—
Reply to this email directly, view it on GitHub
<#15868 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB4O4GRLZ7GHAMG4FLL3A32NTC3XAVCNFSM6AAAAABWJDQQQGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMBSGU4TENA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've been working a lot with Amaranth recently. As it's really a python embedded DSL, the recommendation is to use
from amaranth import *
to bring in the full DSL. It uses all and manages its api surface.Obviously I can ignore F403 and F405, but then i may miss mistakes unrelated to the DSL.
Would it be possible for ruff to import all when wildcard importing so I don't need F405? It could error if that is not defined.
Beta Was this translation helpful? Give feedback.
All reactions