Move prohibited warnings detection in deferrable pytest plugin
related: https://github.com/apache/airflow/issues/38642
Move all logic around existed functionality into the separate plugin, which allow to do additional things without turned root conftest.py into the mess
- Allow to disable detect warnings locally
- Move list of prohibited warnings into the pyproject.toml
- Analyse test failure and if it due to listed prohibited warning show hint to the developer
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.
I'm taking myself off the reviewer list as I have no clue about what this plugin is about and hope others do :-D