Skip to content

Auto-upgrade the whitelist and blacklist options in configuration #5465

@Talador12

Description

@Talador12

Current problem

In .pylintrc we have the following attribute

extension-pkg-whitelist=

For context, here is a description of that

# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code. (This is an alternative name to extension-pkg-allow-list
# for backward compatibility.)

At what point do we end backwards compatibility on this term? It is worth deprecating that language at some point.

Desired solution

We should deprecate extension-pkg-whitelist in favor of extension-pkg-allow-list for all references

Additional context

Lots of different inclusivity guides out there, but here's one
https://developers.google.com/style/inclusive-documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions