Skip to content
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

Option to allow all imports from certain modules #19

Open
ljodal opened this issue May 4, 2023 · 0 comments
Open

Option to allow all imports from certain modules #19

ljodal opened this issue May 4, 2023 · 0 comments
Assignees

Comments

@ljodal
Copy link
Contributor

ljodal commented May 4, 2023

From #17 the need for allowing all imports from a certain module was raised. Ie. a common module with general utilities that are intended to be used everywhere. Maybe we could add an option to pyproject.toml, something like this maybe?

[oida]
allowed_imports = [
    "foo.utils.*",
]
@eirsyl eirsyl self-assigned this May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants