mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Exclude mobile TorchScript models from linter checks
Pull Request resolved: https://github.com/pytorch/pytorch/pull/75906 Approved by: https://github.com/suo
This commit is contained in:
parent
b0081e7642
commit
702c7f00e2
2 changed files with 2 additions and 1 deletions
|
|
@ -269,6 +269,7 @@ exclude_patterns=[
|
|||
'third_party/**',
|
||||
'**/*.expect',
|
||||
'**/*.ipynb',
|
||||
'**/*.ptl',
|
||||
'tools/clang_format_hash/**',
|
||||
]
|
||||
command = [
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ def main() -> None:
|
|||
)
|
||||
|
||||
try:
|
||||
proc = run_command(["grep", "-nPH", args.pattern, *args.filenames])
|
||||
proc = run_command(["grep", "-nPHI", args.pattern, *args.filenames])
|
||||
except Exception as err:
|
||||
err_msg = LintMessage(
|
||||
path=None,
|
||||
|
|
|
|||
Loading…
Reference in a new issue