Jarek Potiuk created AIRFLOW-6142:
-------------------------------------

             Summary: Different results for pylint locally and in Travis CI
                 Key: AIRFLOW-6142
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6142
             Project: Apache Airflow
          Issue Type: Sub-task
          Components: ci
    Affects Versions: 2.0.0
            Reporter: Jarek Potiuk


Sometimes Pylint on Travis CI gives still different results than the one run 
locally. This seems to be happening because we are using the 
AIRFLOW_MOUNT_SOURCE_DIR_FOR_STATIC_CHECKS="true" for static checks. This is 
needed for checklicence check only - just to make sure that all source files 
(including scripts etc.) are mounted to the container. However this makes it 
slightly different when it comes to pylint checks. We would like to have it 
exactly identical when run locally and in CI so in case of static checks we 
should rather use AIRFLOW_MOUNT_HOST_VOLUMES_FOR_STATIC_CHECKS="true" for all 
checks but the Checklicence one . - same as used locally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to