From 2edd20fa81c41f9a7a09e42c864c6c08c7cdca40 Mon Sep 17 00:00:00 2001 From: Colin Peppler Date: Tue, 22 Aug 2023 09:32:20 -0700 Subject: [PATCH] Disable Bugbear warning B905 (zip() without strict=) (#909) Summary: Pull Request resolved: https://github.com/facebookincubator/AITemplate/pull/909 `zip` with the `strict` parameter isn't supported in python < 3.10 https://github.com/PyCQA/flake8-bugbear#opinionated-warnings Reviewed By: aakhundov Differential Revision: D48539088 fbshipit-source-id: 0d3cdfbd9a6cd10240d47d1f37e9fed2988be6d8 --- .flake8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.flake8 b/.flake8 index 9ef66bc0d..738f1f44a 100644 --- a/.flake8 +++ b/.flake8 @@ -101,6 +101,8 @@ ignore = W504, # Too opinionated. + # zip() without strict= (strict isn't available in python < 3.10) + B905, # Block comment should start with '# '. E265, # Too many leading '#' for block comment.