ashb edited a comment on pull request #12397:
URL: https://github.com/apache/airflow/pull/12397#issuecomment-728962096


   > Nope. I have not lost the messages - they are shown all right.
   > 
   > I believe this is caused by 
https://github.com/apache/airflow/pull/12397/files#diff-2dfb149ecb4c1fe07a9c14f488a64326a8255a369d85fee621c4ecbd092a21acR2279
 -> for some reason upgrade_check() is called when flake is executed likely and 
it causes system.exit()
   
   :scream: Flake is running code? THat's horrifying. I'll take a look.
   
   Ah no, it's that code, but not the exit.
   
   ```
   airflow/upgrade/checker.py:68:5: F821 undefined name 'args'
   airflow/upgrade/checker.py:69:5: F821 undefined name 'args'
   airflow/upgrade/checker.py:69:15: F821 undefined name 'args'
   ```
   
   That's the error. But why didn't pre-commit/flake8 show it.


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


Reply via email to