From 9f519d2d2d5dd4490de43ec2bcea59efab13e225 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Fri, 9 Apr 2021 14:47:24 -0700 Subject: [PATCH] Simplify benchmark patterns in mypy-strict.ini (#55700) Summary: These two lines were added in https://github.com/pytorch/pytorch/issues/53296, but they are needlessly complicated; this PR consolidates them. Pull Request resolved: https://github.com/pytorch/pytorch/pull/55700 Test Plan: Run this command, and verify that the same number of files is given both before and after this PR: ``` mypy --config=mypy-strict.ini ``` Reviewed By: robieta Differential Revision: D27684278 Pulled By: samestep fbshipit-source-id: a34968cdff29cb8ad83813b277114224b5e37569 --- mypy-strict.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mypy-strict.ini b/mypy-strict.ini index 37a965dac37..195ba7dfc0b 100644 --- a/mypy-strict.ini +++ b/mypy-strict.ini @@ -36,8 +36,7 @@ strict_equality = True files = .github/scripts/generate_binary_build_matrix.py, - benchmarks/instruction_counts/*.py, - benchmarks/instruction_counts/*/*.py, + benchmarks/instruction_counts, tools/autograd/*.py, tools/clang_tidy.py, tools/codegen/*.py,