Repository navigation
quality: standard tier is the tool default for clang-tidy, ruff, ty, pydoclint, govet, staticcheck, gopls, cmakelint (part of #15298) - #15704
Closed
TrapsterDK wants to merge 1 commit into
Closed
TrapsterDK wants to merge 1 commit into
TrapsterDK wants to merge 1 commit into
Conversation
…pydoclint, govet, staticcheck, gopls, cmakelint (part of #15298)
Collaborator
Author
|
Superseded by #15708: one strict config, no tiers. |
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.
Standard tier now equals each tool's own default. Nothing was built or run; the verify pass follows.
Per tool (standard vs default):
clang-diagnostic-*,clang-analyzer-*, no WarningsAsErrors. Strict gainsclang-diagnostic-*so it is a superset. Strict still disablesclang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling(a default check; it pushes non-portable Annex K functions, so idiom-fighting). https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cppall = "error") is unchanged.go vetsuite (golang.org/x/tools/go/analysis/suite/vet), which includes scannererr and sqlrowserr. atomicalign, deepequalerrors, httpmux, nilness, reflectvaluecompare, sortslice and unusedwrite moved from standard to strict only. https://go.googlesource.com/go/+/go1.27.4/src/cmd/vet/main.goSA*,-SA9003,U1000. Nowallminus the NonDefault analyzers (ST1000, ST1003, ST1016, ST1020, ST1021, ST1022, ST1023, SA9003), as staticcheck itself computes it; standard.conf is empty. https://staticcheck.dev/docs/configuration/{}(gopls defaults). gen.rs emits{}when the tier lists nothing. Strict output is unchanged.Docs: the standard page generator says an empty tier runs the tool default. docs/tiers-standard.md and docs/tiers-strict.md were edited by hand for cmakelint, pydoclint and ruff; regenerate with
//docs:update_tiersto confirm.Tests changed: cc/tests/clang_tidy_tiers.rs, tools/testing/clang_diagnostics_test.rs, govet_test.go, staticcheck checks_test.go, cli/adopt scaffold test, tools/docs/tiers unit test.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xut2hxb7tMzRqzVaKmAvVT