Skip to content

Conversation

@mick88
Copy link

@mick88 mick88 commented Jun 3, 2022

calls to filter and reset warnings have a global effect on projects using the library

calls to filter and reset warnings have a global effect on projects using the library
@mick88 mick88 changed the title Don't modify Python warnings Don't modify Python warning filters Jun 3, 2022
@mick88
Copy link
Author

mick88 commented Jun 3, 2022

I tried to configure warnings in my project and my configuration did not seem to have any effect.
It turns out that this project makes a call to reset warning filters that overrides my filters set at the start of the project.

stefantalpalaru added a commit to stefantalpalaru/django-pygments that referenced this pull request Nov 17, 2024
stefantalpalaru added a commit to stefantalpalaru/django-pygments that referenced this pull request Nov 17, 2024
@stefantalpalaru
Copy link

Fixed in my fork. Please make further PRs there: https://github.com/stefantalpalaru/django-pygments

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.

2 participants