mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add initial bc-linter configuration (#161319)
Preparation for https://github.com/pytorch/test-infra/pull/7016 Currently merging this PR is a noop change for PyTorch repo (bc-linter is not looking at the config yet). Pull Request resolved: https://github.com/pytorch/pytorch/pull/161319 Approved by: https://github.com/seemethere, https://github.com/ZainRizvi
This commit is contained in:
committed by
PyTorch MergeBot
parent
419a2dbf5f
commit
bcfe1b2d71
15
.bc-linter.yml
Normal file
15
.bc-linter.yml
Normal file
@ -0,0 +1,15 @@
|
||||
version: 1
|
||||
paths:
|
||||
include:
|
||||
- "**/*.py"
|
||||
exclude:
|
||||
- ".*"
|
||||
- ".*/**"
|
||||
- "**/.*/**"
|
||||
- "**/.*"
|
||||
- "**/_*/**"
|
||||
- "**/_*.py"
|
||||
- "**/test/**"
|
||||
- "**/benchmarks/**"
|
||||
- "**/test_*.py"
|
||||
- "**/*_test.py"
|
Reference in New Issue
Block a user