-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support wildcards for modules in forbidden contracts #232
Comments
Hi Ronny, thanks for the issue. It's because wildcards aren't supported for those fields, they're only supported (at present) for It's got nothing to do with TOML, so I've renamed this issue accordingly. I'd be happy to support someone on a pull request if they wanted to add this. There is actually a pull request open for adding wildcard support for another contract type (independence), which I've left some feedback on, but it seems to have stalled. Let me know if you're interested in taking it on. |
Sounds good, thanks! |
Hi there!
I found an issue I wasn't able to resolve. I browed through the closed tickets but couldn't find a match there, so I created this ticket.
I use the import-linter (v2.0) with Django and all my Django apps live in
apps/
. When I try to use a wildcard, the contract never fails. If I put the module explicitly, it works, thus fails.Works:
Not working:
Am I missing something? Thanks for your help!
Best from Cologne
Ronny
The text was updated successfully, but these errors were encountered: