diff --git a/airflow-ctl/pyproject.toml b/airflow-ctl/pyproject.toml index 08ec690a82cfe..e9bbc394453b2 100644 --- a/airflow-ctl/pyproject.toml +++ b/airflow-ctl/pyproject.toml @@ -154,7 +154,6 @@ norecursedirs = [ log_level = "INFO" filterwarnings = [ "error::pytest.PytestCollectionWarning", - "error::pytest.PytestReturnNotNoneWarning", ] python_files = [ "test_*.py", diff --git a/pyproject.toml b/pyproject.toml index f67170042c179..3002e6ab4d80d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -870,7 +870,6 @@ norecursedirs = [ log_level = "INFO" filterwarnings = [ "error::pytest.PytestCollectionWarning", - "error::pytest.PytestReturnNotNoneWarning", # Avoid building cartesian product which might impact performance "error:SELECT statement has a cartesian product between FROM:sqlalchemy.exc.SAWarning:airflow", 'error:Coercing Subquery object into a select\(\) for use in IN\(\):sqlalchemy.exc.SAWarning:airflow', diff --git a/task-sdk/pyproject.toml b/task-sdk/pyproject.toml index 89de4c0f5d21e..071dfc1f1fe4d 100644 --- a/task-sdk/pyproject.toml +++ b/task-sdk/pyproject.toml @@ -199,7 +199,6 @@ norecursedirs = [ log_level = "INFO" filterwarnings = [ "error::pytest.PytestCollectionWarning", - "error::pytest.PytestReturnNotNoneWarning", ] python_files = [ "test_*.py",