Platform agnostic wrapper script for towncrier. Fixes the issue (#7251) where windows users are unable to natively run tox -e docs to build pytest docs.
()
| 3 | |
| 4 | |
| 5 | def main(): |
| 6 | """ |
| 7 | Platform agnostic wrapper script for towncrier. |
| 8 | Fixes the issue (#7251) where windows users are unable to natively run tox -e docs to build pytest docs. |
| 9 | """ |
| 10 | with open("doc/en/_changelog_towncrier_draft.rst", "w") as draft_file: |
| 11 | return call(("towncrier", "--draft"), stdout=draft_file) |
| 12 | |
| 13 | |
| 14 | if __name__ == "__main__": |
no outgoing calls
no test coverage detected