Skip to content

Motivation for how yesqa is built #137

@ikonst

Description

@ikonst

Naively I suppose a yesqa-like functionality could be built into flake8, similarly to how mypy has warn_unused_ignores and warn_redundant_casts options. This would appear to have a few advantages over current yesqa, e.g. requiring one run over the code, and, when using yesqa as a pre-commit hook, having a single set of additional deps.

I'm curious if there was a specific motivation for building yesqa this way, e.g. flake8 not easy to extend this way, or flake8 maintainers not receptive to such feature, or perhaps yesqa was simply quicker to build this way without touching flake8.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions