-
Notifications
You must be signed in to change notification settings - Fork 40
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 for OnlyAllowContract #75
Comments
Hi Iwan, Thanks for your message - great idea! If you'd find this useful, you may be interested that you can create custom contract types - so you don't need to wait around for me to write one! https://import-linter.readthedocs.io/en/stable/custom_contract_types.html Let me know if you have any questions. |
I needed the same functionality so leaving this here in case it's of use to anyone. Note the use of
|
Thank you for your great linter. This is exactly what I was looking for.
It would be great if it would support an OnlyAllow Contract, which should only allow the defined imports and no others. This would especially be handy with
include_external_packages=False
. This way you could simple code your architecture and don't have to define the inverse of your architecture every time.Thanks in advance!
The text was updated successfully, but these errors were encountered: