This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update progress and error reporting in clang-tidy (pytorch#61672)
Summary: Pull Request resolved: pytorch#61672 This PR adds a progress bar to clang-tidy, and updates how it threads error codes (when run in parallel). The progress bar is disabled on GHA because backspace escape codes are not supported. It also adds a `--quiet` flag to the script. Screenshot of progress bar: <img width="955" alt="Screen Shot 2021-07-14 at 3 17 11 PM" src="https://user-images.githubusercontent.com/40111357/125686114-a8a7c154-3e65-43a8-aa8f-c1fb14d51d27.png"> Test Plan: Imported from OSS Reviewed By: malfet Differential Revision: D29763848 Pulled By: 1ntEgr8 fbshipit-source-id: cbd352593b279f279911bc3bb8d5ed54abd5f1d5
- Loading branch information
1 parent
24a6eb3
commit 66c8d21
Showing
5 changed files
with
400 additions
and
203 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
# NOTE there must be no spaces before the '-', so put the comma last. | ||
InheritParentConfig: true | ||
Checks: ' | ||
bugprone-*, | ||
-bugprone-forward-declaration-namespace, | ||
-bugprone-macro-parentheses, | ||
-bugprone-lambda-function-name, | ||
-bugprone-reserved-identifier, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-interfaces-global-init, | ||
-cppcoreguidelines-macro-usage, | ||
-cppcoreguidelines-owning-memory, | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
-cppcoreguidelines-pro-type-cstyle-cast, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
-cppcoreguidelines-pro-type-static-cast-downcast, | ||
-cppcoreguidelines-pro-type-union-access, | ||
-cppcoreguidelines-pro-type-vararg, | ||
-cppcoreguidelines-special-member-functions, | ||
-facebook-hte-RelativeInclude, | ||
hicpp-exception-baseclass, | ||
hicpp-avoid-goto, | ||
modernize-*, | ||
-modernize-concat-nested-namespaces, | ||
-modernize-return-braced-init-list, | ||
-modernize-use-auto, | ||
-modernize-use-default-member-init, | ||
-modernize-use-using, | ||
-modernize-use-trailing-return-type, | ||
performance-*, | ||
-performance-noexcept-move-constructor, | ||
-performance-unnecessary-value-param, | ||
' | ||
HeaderFilterRegex: 'torch/csrc/.*' | ||
AnalyzeTemporaryDtors: false | ||
WarningsAsErrors: '*' | ||
CheckOptions: | ||
... |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.