From bcfe1b2d714cbb2716495e09ae010e7c34daf045 Mon Sep 17 00:00:00 2001 From: Ivan Zaitsev Date: Fri, 22 Aug 2025 22:54:25 +0000 Subject: [PATCH] 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 --- .bc-linter.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .bc-linter.yml diff --git a/.bc-linter.yml b/.bc-linter.yml new file mode 100644 index 000000000000..cafa3a51c3ac --- /dev/null +++ b/.bc-linter.yml @@ -0,0 +1,15 @@ +version: 1 +paths: +include: + - "**/*.py" +exclude: + - ".*" + - ".*/**" + - "**/.*/**" + - "**/.*" + - "**/_*/**" + - "**/_*.py" + - "**/test/**" + - "**/benchmarks/**" + - "**/test_*.py" + - "**/*_test.py"