Skip to content

Commit

Permalink
mkrest: fixed black formatting with pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jadenabrams100 committed Feb 26, 2024
1 parent ac4b8f2 commit 36986b0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions utils/mkrest.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ def read_file(name):
if tmp_data:
sys.stdout.write(tmp_data)

arguments = ['pandoc', '-s', '-r', 'html', src_file, '-w', 'rst']
process = subprocess.Popen(
arguments, stdout=subprocess.PIPE
)
arguments = ["pandoc", "-s", "-r", "html", src_file, "-w", "rst"]
process = subprocess.Popen(arguments, stdout=subprocess.PIPE)
html_text = process.communicate()[0]
if html_text:
for k, v in replacement.iteritems():
Expand Down

0 comments on commit 36986b0

Please sign in to comment.