Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Python code in documents with black #4530

Merged
merged 5 commits into from Oct 4, 2022

Conversation

jcwchen
Copy link
Member

@jcwchen jcwchen commented Sep 21, 2022

Description

Previously all .py files have been formatted in ONNX: #4427 However, Python code in documents are not updated. This PR formats PythonAPIOverview.md, ExternalData.md/, Hub.md as well

Motivation and Context

Decouple formatting work from #4270.

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen added the documentation Issues related to ONNX documentation label Sep 21, 2022
@jcwchen jcwchen requested a review from a team as a code owner September 21, 2022 23:23
Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
@jcwchen jcwchen changed the title Format PythonAPIOverview.md with black Format Python code in documents with black Sep 22, 2022
@jcwchen jcwchen enabled auto-merge (squash) October 4, 2022 14:24
@jcwchen jcwchen merged commit 136a2c0 into onnx:main Oct 4, 2022
@jcwchen jcwchen deleted the jcw/format-ipynb branch October 4, 2022 15:04
broune pushed a commit to broune/onnx that referenced this pull request May 6, 2023
* format PythonAPIOverview.md

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

* black other docs

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>

Signed-off-by: Chun-Wei Chen <jacky82226@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues related to ONNX documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants