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

husseinawala 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 37c3e6f5bb Codecov configuration adjustments (#35279)
37c3e6f5bb is described below

commit 37c3e6f5bb41eba8bcf2161b3b5c393dbd27972a
Author: Andrey Anshin <[email protected]>
AuthorDate: Tue Oct 31 01:24:32 2023 +0400

    Codecov configuration adjustments (#35279)
---
 codecov.yml    | 7 ++++---
 pyproject.toml | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/codecov.yml b/codecov.yml
index e78b83b582..67ea777302 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -17,15 +17,16 @@
 ---
 codecov:
   branch: main
-  max_report_age: off  # yamllint disable-line rule:truthy
+  max_report_age: 6h
   require_ci_to_pass: true
   notify:
     wait_for_ci: false
+    after_n_builds: 10
 
 coverage:
-  precision: 2
+  precision: 1
   round: down
-  range: 60..85
+  range: 65..90
   status:
     project:
       default:
diff --git a/pyproject.toml b/pyproject.toml
index 1652c6827b..b830a595c2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -183,5 +183,5 @@ exclude_also = [
     "if __name__ == .__main__.:",
     "@(abc\\.)?abstractmethod",
     "@(typing(_extensions)?\\.)?overload",
-    "if TYPE_CHECKING:"
+    "if (typing(_extensions)?\\.)?TYPE_CHECKING:"
 ]

Reply via email to