diff --git a/CHANGELOG.md b/CHANGELOG.md index e3ea1f1b..31c9a5a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Changed ### Deprecated ### Removed -- Removed unnecessary `# -*- coding: utf-8 -*-` headers from .py files ([#615](https://github.com/opensearch-project/opensearch-py/pull/615)) +- Removed unnecessary `# -*- coding: utf-8 -*-` headers from .py files ([#615](https://github.com/opensearch-project/opensearch-py/pull/615), [#617](https://github.com/opensearch-project/opensearch-py/pull/617)) ### Fixed ### Security diff --git a/utils/license_headers.py b/utils/license_headers.py index 903f176d..575e9868 100644 --- a/utils/license_headers.py +++ b/utils/license_headers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # SPDX-License-Identifier: Apache-2.0 # # The OpenSearch Contributors require contributions made to @@ -18,7 +17,7 @@ import sys from typing import Iterator, List -LINES_TO_KEEP = ["# -*- coding: utf-8 -*-", "#!/usr/bin/env python"] +LINES_TO_KEEP = ["#!/usr/bin/env python"] LICENSE_HEADER = """ # SPDX-License-Identifier: Apache-2.0