PyCQA / bandit

Bandit is a tool designed to find common security issues in Python code.
https://bandit.readthedocs.io
Apache License 2.0
6.42k stars 606 forks source link

Inclusive terminology #647

Open jwstein3400 opened 3 years ago

jwstein3400 commented 3 years ago

Is your feature request related to a problem? Please describe. In the bandit repository there are currently 27 instances of blacklist, 1 instance of whitelist, and 6 instances of master.

These terms while not intentionally are negative in connotation and should be considered for replacement.

Describe the solution you'd like I would like an update that results in inclusive terms used in documentation, source code, and in general. For more context linux kernel merge, email discussion.

Describe alternatives you've considered Some options to consider: In place or master (for code branch main):

In place of black/white list:

lukehinds commented 3 years ago

+1

Do you want to make this change, or just let me know and I can.

jwstein3400 commented 3 years ago
  1. I can submit a change for blacklist/s to blocklist/s.

  2. The whitelist reference is in the tox.ini and would require an upgrade to 3.18 or later.

  3. Of the master references I can change 1 of them, while 3 are associated with the default branch and 2 are Sphinx configurations. Coming soon #https://github.com/sphinx-doc/sphinx/issues/8326