summaryrefslogtreecommitdiff
path: root/src/flake8/utils.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-07-08 13:44:36 -0700
committerAnthony Sottile <asottile@umich.edu>2019-07-08 14:22:51 -0700
commitd4b0073167284c2ebb8c360afa376c4ff598f70c (patch)
treec64768fcfe07da682e8b143e7bf9a7b8db6c9153 /src/flake8/utils.py
parentf00d483ea5940ab3cb5da2ea329054aa7e6e7447 (diff)
downloadflake8-d4b0073167284c2ebb8c360afa376c4ff598f70c.tar.gz
Fix / improve recently merged patches + CI
Diffstat (limited to 'src/flake8/utils.py')
-rw-r--r--src/flake8/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flake8/utils.py b/src/flake8/utils.py
index a838140..02f0607 100644
--- a/src/flake8/utils.py
+++ b/src/flake8/utils.py
@@ -386,7 +386,7 @@ def filenames_from(arg, predicate=None):
def fnmatch(filename, patterns):
- # type: (str, List[str]) -> bool
+ # type: (str, Sequence[str]) -> bool
"""Wrap :func:`fnmatch.fnmatch` to add some functionality.
:param str filename:
@@ -453,7 +453,7 @@ def parameters_for(plugin):
def matches_filename(path, patterns, log_message, logger):
- # type: (str, List[str], str, logging.Logger) -> bool
+ # type: (str, Sequence[str], str, logging.Logger) -> bool
"""Use fnmatch to discern if a path exists in patterns.
:param str path: