Skip to content

Deprecate or un-deprecate extend-ignore and extend-unfixable #12014

Open
@MichaReiser

Description

The extend-ignore and extend-unfixable options are documented as deprecated but they're still widely used. @charliermarsh argues that he would add the settings if they didn't exist today (for flake8 compact?).

We should either formally deprecate the CLI options (the configuration options have been deprecated for a while) or un-deprecate the settings.

We could consider defining extend-unfixable as an alias for unfixable and extend-ignore for ignore. Both serde and clap support aliasing. The downside would be that the options don't show up in the CLI and the documentation, but that could also be considered an upside (less redundant information). The only thing that doesn't seem to work with aliasing is that schemars doesn't support it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfaceconfigurationRelated to settings and configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions