mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Summary: Fixes the comments to match the latest updates to the checked-in tools. Search/replace applied in this order: * `# /fbsource/tools/lint/clangtidy/clang-tidy-platform010 -list-checks` -> `# ~/fbsource/tools/lint/clangtidy/clang-tidy-platform010-clang-17 -list-checks` * `# ~/fbsource/tools/lint/clangtidy/clang-tidy-platform010 -list-checks` -> `# ~/fbsource/tools/lint/clangtidy/clang-tidy-platform010-clang-17 -list-checks` * `fbsource/tools/lint/clangtidy/clang-tidy-platform010 -list-checks` -> `fbsource/tools/lint/clangtidy/clang-tidy-platform010-clang-17 -list-checks` Test Plan: CI Reviewed By: johnkearney Differential Revision: D71431516 Pull Request resolved: https://github.com/pytorch/pytorch/pull/149524 Approved by: https://github.com/janeyx99
21 lines
728 B
YAML
21 lines
728 B
YAML
# NOTE there must be no spaces before the '-', so put the comma after.
|
|
# When making changes, be sure to verify the output of the following command to ensure
|
|
# the desired checks are enabled (run from the directory containing a .clang-tidy file):
|
|
# ~/fbsource/tools/lint/clangtidy/clang-tidy-platform010-clang-17 -list-checks
|
|
# NOTE: Please don't disable inheritance from the parent to make sure that common checks get propagated.
|
|
|
|
# Remove noisy checks which are not necessary.
|
|
---
|
|
InheritParentConfig: true
|
|
Checks: '
|
|
-cppcoreguidelines-avoid-c-arrays,
|
|
-modernize-avoid-c-arrays,
|
|
-modernize-loop-convert,
|
|
-readability-container-size-empty,
|
|
'
|
|
WarningsAsErrors: '
|
|
-facebook-hte-BadMemberName,
|
|
-facebook-hte-NullableReturn,
|
|
'
|
|
...
|