Skip to content

Commit

Permalink
Simplify benchmark patterns in mypy-strict.ini (pytorch#55700)
Browse files Browse the repository at this point in the history
Summary:
These two lines were added in pytorch#53296, but they are needlessly complicated; this PR consolidates them.

Pull Request resolved: pytorch#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
  • Loading branch information
samestep authored and facebook-github-bot committed Apr 9, 2021
1 parent 6842da6 commit 9f519d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mypy-strict.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9f519d2

Please sign in to comment.