You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/07/31 05:27:33 UTC
[GitHub] [airflow] uranusjr commented on a change in pull request #17335: Fix typo in AUTOMATICALLY GENERATED marker
uranusjr commented on a change in pull request #17335:
URL: https://github.com/apache/airflow/pull/17335#discussion_r680309794
##########
File path: dev/provider_packages/prepare_provider_packages.py
##########
@@ -1694,9 +1694,8 @@ def replace_content(file_path, old_text, new_text, provider_package_id):
os.remove(temp_file_path)
-AUTOMATICALLY_GENERATED_CONTENT = (
- ".. THE REMINDER OF THE FILE IS AUTOMATICALLY GENERATED. IT WILL BE OVERWRITTEN AT RELEASE TIME!"
-)
+AUTOMATICALLY_GENERATED_MARKER = "AUTOMATICALLY GENERATED"
+AUTOMATICALLY_GENERATED_CONTENT = f".. THE REMAINDER OF THE FILE IS {AUTOMATICALLY_GENERATED_MARKER}. IT WILL BE OVERWRITTEN AT RELEASE TIME!"
Review comment:
```suggestion
AUTOMATICALLY_GENERATED_CONTENT = (
f".. THE REMAINDER OF THE FILE IS {AUTOMATICALLY_GENERATED_MARKER}. "
f"IT WILL BE OVERWRITTEN AT RELEASE TIME!"
)
```
Flake8 says this is too long.
--
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