Skip to content

fix: incorrect re.sub argument and docutils deprecation warning#180

Open
Tristan-P3 wants to merge 1 commit intoacconeer:masterfrom
Tristan-P3:qtpidgets-patch
Open

fix: incorrect re.sub argument and docutils deprecation warning#180
Tristan-P3 wants to merge 1 commit intoacconeer:masterfrom
Tristan-P3:qtpidgets-patch

Conversation

@Tristan-P3
Copy link
Copy Markdown

This fixes two issues in rst_to_html in qtwidgets.py:

  • re.sub now passes re.MULTILINE as flags, not as the count argument with a value of 8
  • docutils.publish_parts now uses writer="html" instead of the deprecated writer_name

This removes warning noise from the CLI output shown when starting the tool.

… keyword argument, and publish_parts now uses writer instead of writer_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant