summaryrefslogtreecommitdiff
path: root/buildscripts/pylinters.py
diff options
context:
space:
mode:
authorShreyas Kalyan <shreyas.kalyan@10gen.com>2021-05-05 20:12:00 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-14 19:07:16 +0000
commit47d99621851c0cd8da8d0628edeaa2f59bff6e14 (patch)
treec827d9bcbed0739bc2a421060182d00251825573 /buildscripts/pylinters.py
parent97ff562f3379ce7e9a7da0c9eb249d35c34c03b1 (diff)
downloadmongo-47d99621851c0cd8da8d0628edeaa2f59bff6e14.tar.gz
SERVER-55964 Replace "blacklist" in all code and comments
Diffstat (limited to 'buildscripts/pylinters.py')
-rwxr-xr-xbuildscripts/pylinters.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildscripts/pylinters.py b/buildscripts/pylinters.py
index aab4378d80e..a7cf624a6e7 100755
--- a/buildscripts/pylinters.py
+++ b/buildscripts/pylinters.py
@@ -58,9 +58,9 @@ def get_py_linter(linter_filter):
def is_interesting_file(file_name):
# type: (str) -> bool
"""Return true if this file should be checked."""
- file_blacklist = [] # type: List[str]
- directory_blacklist = ["src/third_party"]
- if file_name in file_blacklist or file_name.startswith(tuple(directory_blacklist)):
+ file_denylist = [] # type: List[str]
+ directory_denylist = ["src/third_party"]
+ if file_name in file_denylist or file_name.startswith(tuple(directory_denylist)):
return False
directory_list = ["buildscripts", "pytests"]
return file_name.endswith(".py") and file_name.startswith(tuple(directory_list))