Fix/relax CMake linter rules (#35574)

Summary:
Ignore mixed upper-case/lower-case style for now
Fix space between function and its arguments violation
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35574

Test Plan: CI

Differential Revision: D20712969

Pulled By: malfet

fbshipit-source-id: 0012d430aed916b4518599a0b535e82d15721f78
This commit is contained in:
Nikita Shulga
2020-03-27 16:49:27 -07:00
committed by Facebook GitHub Bot
parent 96eec95ece
commit b9adbb5002
25 changed files with 200 additions and 200 deletions

View File

@ -495,15 +495,15 @@ if(NOT INTERN_BUILD_MOBILE OR NOT BUILD_CAFFE2_MOBILE)
)
if(NOT INTERN_DISABLE_MOBILE_INTERP)
set (MOBILE_SRCS
${TORCH_SRC_DIR}/csrc/jit/mobile/function.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/import.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/module.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_ops.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_autograd.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/interpreter.cpp
)
list (APPEND TORCH_SRCS ${MOBILE_SRCS})
set(MOBILE_SRCS
${TORCH_SRC_DIR}/csrc/jit/mobile/function.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/import.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/module.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_ops.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/register_mobile_autograd.cpp
${TORCH_SRC_DIR}/csrc/jit/mobile/interpreter.cpp
)
list(APPEND TORCH_SRCS ${MOBILE_SRCS})
endif()
if(NOT INTERN_DISABLE_AUTOGRAD)