From bf9b5dffbf84675059f84da2722784aee3032e02 Mon Sep 17 00:00:00 2001 From: Brian Vaughan Date: Wed, 7 Nov 2018 14:23:22 -0800 Subject: [PATCH] ensure flake8 ignores non-conforming python files generated by build Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/13680 Differential Revision: D12964332 Pulled By: nairbv fbshipit-source-id: a28358c265fd305f5f8cf893d25d34d6b5929210 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6a8d7fe1fbdbbe..8906fb29730ce7 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,4 @@ [flake8] max-line-length = 120 ignore = E305,E402,E721,E741,F401,F403,F405,F821,F841,F999,W503,W504 -exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY +exclude = docs/src,venv,third_party,caffe2,scripts,docs/caffe2,tools/amd_build/pyHIPIFY,torch/lib/include,torch/lib/tmp_install