mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Split the exclude pattern for CODESPELL
linter (#156229)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156229 Approved by: https://github.com/albanD ghstack dependencies: #156080, #156081
This commit is contained in:
committed by
PyTorch MergeBot
parent
e3507c3777
commit
b4228a94d1
@ -1158,9 +1158,34 @@ exclude_patterns = [
|
||||
'torch/_inductor/autoheuristic/artifacts/**',
|
||||
# These files are all grandfathered in, feel free to remove from this list
|
||||
# as necessary
|
||||
# NOTE: remove the patterns in the order they are listed
|
||||
'aten/**',
|
||||
'aten/src/ATen/native/**',
|
||||
'aten/src/ATen/native/q*/**',
|
||||
'aten/src/ATen/native/[a-pA-P]*/**',
|
||||
'aten/src/ATen/[a-mA-M]*/**',
|
||||
'test/**',
|
||||
'test/test_*',
|
||||
'test/[a-hA-h]*/**',
|
||||
'test/inductor/**',
|
||||
'test/dynamo/**',
|
||||
'test/distributed/**',
|
||||
'torch/**',
|
||||
'torch/_*/**',
|
||||
'torch/_inductor/**',
|
||||
'torch/_dynamo/**',
|
||||
'torch/ao/**',
|
||||
'torch/fx/**',
|
||||
'torch/distributed/**',
|
||||
'torch/distributed/tensor/**',
|
||||
'torch/[p-z]*/**',
|
||||
'torch/[j-o]*/**',
|
||||
'torch/utils/**',
|
||||
'torch/csrc/**',
|
||||
'torch/csrc/jit/**',
|
||||
'torch/csrc/jit/[a-o]*/**',
|
||||
'torch/csrc/[a-i]*/**',
|
||||
'torch/csrc/distributed/**',
|
||||
]
|
||||
init_command = [
|
||||
'python3',
|
||||
|
Reference in New Issue
Block a user