Configure linter to avoid warning about ambiguous variable name I.

Summary: This warning has been making a lot of noise for diffs touching python files in Faiss, as we commonly use `D, I = index.search(...)`.

Reviewed By: mdouze

Differential Revision: D26576006

fbshipit-source-id: 67bde4faa85b5eea2240fd4310d8e186084ca8e6
This commit is contained in:
Lucas Hosseini 2021-02-22 02:17:37 -08:00 committed by Facebook GitHub Bot
parent 96b740abed
commit dfae5457b9

3
faiss/.flake8 Normal file
View File

@ -0,0 +1,3 @@
[flake8]
# Ignore flakes about ambiguous variable name `I`.
ignore = E741