summaryrefslogtreecommitdiff
path: root/pylint/utils.py
diff options
context:
space:
mode:
authorAshley Whetter <ashley@awhetter.co.uk>2016-06-25 21:31:35 +0100
committerAshley Whetter <ashley@awhetter.co.uk>2016-06-25 21:31:35 +0100
commit0d170658efbdf8da0128a45780df6ca9193d35b2 (patch)
tree0c824df09c7dae822c56331ad06dc6514ba9a0d4 /pylint/utils.py
parentdeaedd4309309d2e53cdef2362896dddda780a1f (diff)
downloadpylint-git-0d170658efbdf8da0128a45780df6ca9193d35b2.tar.gz
Fixed our docstring lint errors
Diffstat (limited to 'pylint/utils.py')
-rw-r--r--pylint/utils.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pylint/utils.py b/pylint/utils.py
index d91e0ba72..4d0389062 100644
--- a/pylint/utils.py
+++ b/pylint/utils.py
@@ -778,13 +778,13 @@ class ReportsHandlerMixIn(object):
def _basename_in_blacklist_re(base_name, black_list_re):
"""Determines if the basename is matched in a regex blacklist
- :param base_name: The basename of the file
- :param black_list_re: A collection of regex patterns to match against. Successful matches are
- blacklisted.
- :returns: `True` if the basename is blacklisted, `False` otherwise.
+ :param str base_name: The basename of the file
+ :param list black_list_re: A collection of regex patterns to match against.
+ Successful matches are blacklisted.
+ :returns: `True` if the basename is blacklisted, `False` otherwise.
+ :rtype: bool
"""
-
for file_pattern in black_list_re:
if file_pattern.match(base_name):
return True