Skip to content

ENH: systematically use strict zips #568

@neutrinoceros

Description

@neutrinoceros

the builtin zip function gained a strict argument in Python 3.10, and ruff has a rule for checking that it's set (B905, or zip-without-explicit-strict), which even comes with autofix.
However, the auto-fix is just liberally sprinkling strict=False everywhere, when I believe the correct thing to do is almost always strict=True, so I'm choosing to ignore the rule in #567, but planning to fix it later on a case-by-case basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions