Replies: 3 comments 1 reply
-
|
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.
-
|
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.
-
|
I have a similar problem (should I start a new discussion instead?). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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