1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 12:38:50 +00:00

fix pylint W0101

This commit is contained in:
deadc0de6
2024-06-27 09:25:11 +02:00
parent c56762a4df
commit 550fa227f0

View File

@@ -11,7 +11,7 @@ usage example:
"""
import os
import io
import sys
from docopt import docopt
from ruamel.yaml import YAML as yaml
@@ -40,13 +40,11 @@ def change_link(path, value, ignores):
continue
val[ENTRY] = value
output = io.StringIO()
data = yaml()
data.default_flow_style = False
data.indent = 2
data.typ = 'rt'
data.dump(content, output)
print(output)
data.dump(content, sys.stdout)
def main():