Skip to content

Commit

Permalink
Disable Bugbear warning B905 (zip() without strict=) (facebookincubat…
Browse files Browse the repository at this point in the history
…or#909)

Summary:
Pull Request resolved: facebookincubator#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
  • Loading branch information
ColinPeppler authored and facebook-github-bot committed Aug 22, 2023
1 parent ac04f07 commit 2edd20f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2edd20f

Please sign in to comment.