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

remove lxml from blacklist #1212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

djbrown
Copy link

@djbrown djbrown commented Dec 19, 2024

removes B320 (xml_bad_etree) and B410 (import_lxml)

fixes #767

@djbrown djbrown marked this pull request as ready for review December 19, 2024 02:45
Copy link
Member

@sigmavirus24 sigmavirus24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion:

  • We should do this
  • We should add very clear notes to our changelog
  • We should start pointing people away from defused XML as it's maintenance status means lxml is likely to be safer going forward

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

Successfully merging this pull request may close these issues.

lxml guidance is not useful
2 participants