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

potiuk pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-8-test by this push:
     new defd26577d Ignore mypy complain about `directives._directives` in docs 
(#38190)
defd26577d is described below

commit defd26577d6f18650f4c3c9638bfbe413972c656
Author: Andrey Anshin <[email protected]>
AuthorDate: Fri Mar 15 21:04:51 2024 +0400

    Ignore mypy complain about `directives._directives` in docs (#38190)
    
    (cherry picked from commit 3bac199a02c203b337850156c3cbb819fbc3d255)
---
 docs/exts/substitution_extensions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/exts/substitution_extensions.py 
b/docs/exts/substitution_extensions.py
index 738c30d356..549bf423b6 100644
--- a/docs/exts/substitution_extensions.py
+++ b/docs/exts/substitution_extensions.py
@@ -33,7 +33,7 @@ if TYPE_CHECKING:
 
 LOGGER = logging.getLogger(__name__)
 
-OriginalCodeBlock: Directive = directives._directives["code-block"]
+OriginalCodeBlock: Directive = directives._directives["code-block"]  # type: 
ignore[attr-defined]
 
 _SUBSTITUTION_OPTION_NAME = "substitutions"
 

Reply via email to