pytorch/modules/detectron
Nikita Shulga 3a66a1cb99 [clang-tidy] Exclude cppcoreguidelines-avoid-magic-numbers (#57841)
Summary:
Add cppcoreguidelines-avoid-magic-numbers exclusion to clang-tidy
Remove existing nolint warnings using following script:
```
for file in `git ls-files | grep -v \.py`; do gsed '/^ *\/\/ NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers)/d' -i  $file; done
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/57841

Reviewed By: samestep

Differential Revision: D28295045

Pulled By: malfet

fbshipit-source-id: 7c6e8d1213c9593f169ed3df6a916498f1a97163
2021-05-07 20:02:33 -07:00
..
CMakeLists.txt
group_spatial_softmax_op.cc
group_spatial_softmax_op.cu
group_spatial_softmax_op.h
ps_roi_pool_op.cc
ps_roi_pool_op.cu
ps_roi_pool_op.h
roi_pool_f_op.cc
roi_pool_f_op.cu
roi_pool_f_op.h
sample_as_op.cc
sample_as_op.cu
sample_as_op.h
select_smooth_l1_loss_op.cc
select_smooth_l1_loss_op.cu
select_smooth_l1_loss_op.h
sigmoid_cross_entropy_loss_op.cc
sigmoid_cross_entropy_loss_op.cu
sigmoid_cross_entropy_loss_op.h
sigmoid_focal_loss_op.cc
sigmoid_focal_loss_op.cu
sigmoid_focal_loss_op.h
smooth_l1_loss_op.cc
smooth_l1_loss_op.cu
smooth_l1_loss_op.h
softmax_focal_loss_op.cc
softmax_focal_loss_op.cu
softmax_focal_loss_op.h
spatial_narrow_as_op.cc
spatial_narrow_as_op.cu
spatial_narrow_as_op.h
upsample_nearest_op.cc
upsample_nearest_op.cu
upsample_nearest_op.h
upsample_nearest_op_test.py