[
https://issues.apache.org/jira/browse/AIRFLOW-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17020020#comment-17020020
]
ASF subversion and git services commented on AIRFLOW-6605:
----------------------------------------------------------
Commit af14d92bc42b05c10df4052b355c9626dcaaddf5 in airflow's branch
refs/heads/master from QP Hou
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=af14d92 ]
[AIRFLOW-6605] fix warnings from mypy-0.761 (#7222)
> code doesn't pass static check from latest mypy (0.761)
> -------------------------------------------------------
>
> Key: AIRFLOW-6605
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6605
> Project: Apache Airflow
> Issue Type: New Feature
> Components: build
> Affects Versions: 2.0.0
> Reporter: QP Hou
> Assignee: QP Hou
> Priority: Trivial
>
> Warnings from latest mypy:
> {code:text}
> tests/models/test_taskinstance.py:52: error: Need type annotation for
> 'task_id' [var-annotated]
> task_id = None
> ^
> tests/models/test_taskinstance.py:53: error: Need type annotation for
> 'dag_id' [var-annotated]
> dag_id = None
> ^
> tests/models/test_taskinstance.py:54: error: Need type annotation for
> 'execution_date' [var-annotated]
> execution_date = None
> ^
> tests/models/test_taskinstance.py:55: error: Need type annotation for
> 'task_state_in_callback' [var-annotated]
> task_state_in_callback = None
> ^
> Found 4 errors in 1 file (checked 1500 source files)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)