You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "rawwar (via GitHub)" <gi...@apache.org> on 2024/11/23 18:36:39 UTC
[PR] fix mypy failure due to termcolor upgrade [airflow]
rawwar opened a new pull request, #44313:
URL: https://github.com/apache/airflow/pull/44313
[PR](https://github.com/apache/airflow/actions/runs/11989299333/job/33425681929?pr=44312)
static check failed with following error
```
airflow/cli/commands/standalone_command.py:151: error: Argument 2 to "colored"
has incompatible type "str"; expected
"Optional[Literal['black', 'grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'light_grey', 'dark_grey', 'light_red', 'light_green', 'light_yellow', 'light_blue', 'light_magenta', 'light_cyan', 'white']]"
[arg-type]
colorised_name = colored(f"{name:10}", color)
```
This fixes 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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix mypy failure due to termcolor upgrade [airflow]
Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on PR #44313:
URL: https://github.com/apache/airflow/pull/44313#issuecomment-2495710399
Thanks for fixing 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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix mypy failure due to termcolor upgrade [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl merged PR #44313:
URL: https://github.com/apache/airflow/pull/44313
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org