mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
print clang tidy output to stderr (#24052)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/24052 This will make things show up in the azure pipelines output Test Plan: Imported from OSS Differential Revision: D16723846 Pulled By: suo fbshipit-source-id: d78cbf476be74ccfb28d6e1b21d66b6641d36e26
This commit is contained in:
parent
48c6e5c05a
commit
03a40b2bc0
|
|
@ -12,6 +12,8 @@ tree are also possible. In both cases, the script allows filtering files via
|
|||
glob or regular expressions.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import argparse
|
||||
import collections
|
||||
import fnmatch
|
||||
|
|
@ -288,7 +290,7 @@ def main():
|
|||
if options.diff:
|
||||
line_filters = [get_changed_lines(options.diff, f) for f in files]
|
||||
|
||||
print(run_clang_tidy(options, line_filters, files))
|
||||
print(run_clang_tidy(options, line_filters, files), file=sys.stderr)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user