-
Notifications
You must be signed in to change notification settings - Fork 782
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
Use a linter to ban certain Python imports #1230
Comments
Using |
@lunixbochs Would there be an problems with Talon if we were to add |
We could consider using bandit, but it does not seem to be able to work with allowlists: The |
There's also flake8-tidy-imports, which is also partially implemented by ruff - I think the rule we'd want is there: https://beta.ruff.rs/docs/settings/#flake8-tidy-imports-banned-api I think it'd also be worth running bandit. |
@lunixbochs thinks that for security reasons we should lint for/ban certain Python imports. From slack:
cc @wenkokke
The text was updated successfully, but these errors were encountered: