[ 
https://issues.apache.org/jira/browse/AIRFLOW-6605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17020019#comment-17020019
 ] 

ASF GitHub Bot commented on AIRFLOW-6605:
-----------------------------------------

potiuk commented on pull request #7222: [AIRFLOW-6605] fix warnings from 
mypy-0.761
URL: https://github.com/apache/airflow/pull/7222
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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)

Reply via email to