Skip to content

Commit

Permalink
[typing] ignore mypy false positives in aten_test.py (#52370)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #52370

After adding .pyi stubs for torch / caffe2 protos, there were some mypy false positives (#52341). We tell mypy to ignore the offending file here.

Test Plan: Let CI run.

Reviewed By: malfet, dzhulgakov

Differential Revision: D26490302

fbshipit-source-id: 87cdfd7419efdc7abece9ca975a464201732b7a0
  • Loading branch information
smacke authored and facebook-github-bot committed Feb 17, 2021
1 parent 5003d41 commit f6e0f5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ ignore_errors = True
[mypy-caffe2.experiments.python.convnet_benchmarks]
ignore_errors = True

[mypy-caffe2.contrib.aten.aten_test]
ignore_errors = True

[mypy-caffe2.contrib.aten.docs.sample]
ignore_errors = True

Expand Down

0 comments on commit f6e0f5b

Please sign in to comment.