This is an automated email from the ASF dual-hosted git repository.

onikolas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2624df691a0 Remove PytestReturnNotNoneWarning (#51327)
2624df691a0 is described below

commit 2624df691a08463271017430f30fd4d17492b1ff
Author: GPK <[email protected]>
AuthorDate: Mon Jun 2 22:39:37 2025 +0100

    Remove PytestReturnNotNoneWarning (#51327)
---
 airflow-ctl/pyproject.toml | 1 -
 pyproject.toml             | 1 -
 task-sdk/pyproject.toml    | 1 -
 3 files changed, 3 deletions(-)

diff --git a/airflow-ctl/pyproject.toml b/airflow-ctl/pyproject.toml
index da89517f2d9..0cd8f98ece4 100644
--- a/airflow-ctl/pyproject.toml
+++ b/airflow-ctl/pyproject.toml
@@ -163,7 +163,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 a55265e37cc..9576ddf015a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -881,7 +881,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 4da5bea5722..d45cb26ed7e 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",

Reply via email to