diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-22 17:12:30 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2023-03-22 18:34:50 -0400 |
commit | b7be64538aa480fce641349d3053e9a84862d571 (patch) | |
tree | a5e195f650afffd026a662a628eda7b37fc5fece /coverage/files.py | |
parent | 5a94109e646870aef6188de25ba314f73fa1245d (diff) | |
download | python-coveragepy-git-b7be64538aa480fce641349d3053e9a84862d571.tar.gz |
style: double quotes
Diffstat (limited to 'coverage/files.py')
-rw-r--r-- | coverage/files.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coverage/files.py b/coverage/files.py index 962a9d10..2a117734 100644 --- a/coverage/files.py +++ b/coverage/files.py @@ -163,7 +163,7 @@ def zip_location(filename: str) -> Optional[Tuple[str, str]]: name is in the zipfile. """ - for ext in ['.zip', '.whl', '.egg', '.pex']: + for ext in [".zip", ".whl", ".egg", ".pex"]: zipbase, extension, inner = filename.partition(ext + sep(filename)) if extension: zipfile = zipbase + ext @@ -273,7 +273,7 @@ class ModuleMatcher: if module_name.startswith(m): if module_name == m: return True - if module_name[len(m)] == '.': + if module_name[len(m)] == ".": # This is a module in the package return True @@ -433,7 +433,7 @@ class PathAliases: # The pattern is meant to match a file path. Let's make it absolute # unless it already is, or is meant to match any prefix. if not self.relative: - if not pattern.startswith('*') and not isabs_anywhere(pattern + pattern_sep): + if not pattern.startswith("*") and not isabs_anywhere(pattern + pattern_sep): pattern = abs_file(pattern) if not pattern.endswith(pattern_sep): pattern += pattern_sep |