mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 21:54:02 +08:00
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:
parent
96b740abed
commit
dfae5457b9
3
faiss/.flake8
Normal file
3
faiss/.flake8
Normal file
@ -0,0 +1,3 @@
|
||||
[flake8]
|
||||
# Ignore flakes about ambiguous variable name `I`.
|
||||
ignore = E741
|
Loading…
x
Reference in New Issue
Block a user