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 2020/01/25 14:07:00 UTC

[jira] [Resolved] (AIRFLOW-6635) Speed up static checks

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

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

> Speed up static checks
> ----------------------
>
>                 Key: AIRFLOW-6635
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6635
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: ci
>    Affects Versions: 2.0.0
>            Reporter: Jarek Potiuk
>            Priority: Major
>             Fix For: 2.0.0
>
>
> Pylint checks take most of the time of static checks. We have currently two checks for pylint:
>  * pylint checks for main code
>  * pylint checks for tests
> The main code checks run for about 3 minutes, where pylint checks for tests runs for 6 minutes. - which adds up to 9 minutes of the static check. We can speed it up by splitting static checks to "everything + pylint" and "pylint_tests only". 
> Also we can likely speed up the tests pylint check by enabling native parallel pylint. We cannot do it for main tests because we use custom plugins there, but those are not used in tests for now  



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