We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33b4128 commit 05bc64bCopy full SHA for 05bc64b
tasks/__init__.py
@@ -43,7 +43,8 @@ def _write_version(v):
43
if line.startswith('__version__ = '):
44
line = f'__version__ = {repr(str(v))}\n'
45
lines.append(line)
46
- INIT_PY.write_text(''.join(lines))
+ with INIT_PY.open('w', newline='\n') as f:
47
+ f.write(''.join(lines))
48
49
50
def _render_log():
0 commit comments