summaryrefslogtreecommitdiff
path: root/script/bump_changelog.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 23:31:13 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 23:31:13 +0200
commite83b482989530857339d215a8d422b62f123fcb4 (patch)
tree6cb684582ab58469fa20b31b0deb9d5247f0b500 /script/bump_changelog.py
parent4ef13b03fae72f0ada66daf0e1098d2dd363b141 (diff)
downloadastroid-git-upgrade-to-pylint-2.10.tar.gz
Upgrade pylint checks to 2.10.0upgrade-to-pylint-2.10
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r--script/bump_changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index b11cf006..af0d92f8 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.py
@@ -33,7 +33,7 @@ def main() -> None:
with open(DEFAULT_CHANGELOG_PATH, encoding="utf-8") as f:
content = f.read()
content = transform_content(content, args.version)
- with open(DEFAULT_CHANGELOG_PATH, "w") as f:
+ with open(DEFAULT_CHANGELOG_PATH, "w", encoding="utf8") as f:
f.write(content)