mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Run the `pyupgrade
` tool
This commit is contained in:
@@ -24,7 +24,7 @@ def stringify_version(version_info, in_develop=True):
|
||||
def bump_version(path, version_info, in_develop=True):
|
||||
version = stringify_version(version_info, in_develop)
|
||||
|
||||
with open(path, 'r', encoding='utf-8') as f:
|
||||
with open(path, encoding='utf-8') as f:
|
||||
lines = f.read().splitlines()
|
||||
|
||||
for i, line in enumerate(lines):
|
||||
|
Reference in New Issue
Block a user