docs: update Python style docs to Ruff, remove TVM EP artifacts#28040
Open
MaanavD wants to merge 1 commit intomicrosoft:mainfrom
Open
docs: update Python style docs to Ruff, remove TVM EP artifacts#28040MaanavD wants to merge 1 commit intomicrosoft:mainfrom
MaanavD wants to merge 1 commit intomicrosoft:mainfrom
Conversation
- Update Coding_Conventions_and_Standards.md: replace Black/isort references with Ruff (the actual formatter/linter configured in .lintrunner.toml) - Remove stale pydocstyle recommendation (not configured in lintrunner) - Fix typo: 'development is VS Code' -> 'development in VS Code' - Update PyCharm section to link Ruff docs instead of Black docs - Remove kTvmExecutionProvider constant from constants.h (TVM EP removed) - Remove commented-out DefaultTvmExecutionProvider() declaration - Remove dead test_tvm_imported test method Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes documentation discrepancies found by comparing in-repo docs against actual codebase configuration.
Python Code Style docs (
docs/Coding_Conventions_and_Standards.md).lintrunner.tomlandrequirements-lintrunner.txtis Ruffpydocstylerecommendation (not configured in lintrunner or installed)TVM EP cleanup
The TVM Execution Provider was removed in Nov 2024 (commit
13346fdf18), but a few artifacts remained:kTvmExecutionProviderconstant frominclude/onnxruntime/core/graph/constants.h(no code references it)DefaultTvmExecutionProvider()declaration fromdefault_providers.htest_tvm_importedtest method fromonnxruntime_test_python.pyMotivation and Context
Audited all major in-repo documentation against the actual codebase. The C API Guidelines, OperatorKernels.md, ContribOperators.md, Versioning.md, and PR Guidelines were all verified as accurate. Only the Python style section and TVM EP remnants were out of date.