You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/12/02 18:38:00 UTC

[jira] [Resolved] (AIRFLOW-6142) Different results for pylint locally and in Travis CI

     [ https://issues.apache.org/jira/browse/AIRFLOW-6142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Potiuk resolved AIRFLOW-6142.
-----------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

> 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
>            Assignee: Jarek Potiuk
>            Priority: Major
>             Fix For: 2.0.0
>
>
> 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)