Skip to content

Commit

Permalink
style: better
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Jan 3, 2023
1 parent 3770f54 commit 2090f79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions coverage/files.py
Expand Up @@ -195,8 +195,6 @@ def python_reported_file(filename: str) -> str:
return filename




def isabs_anywhere(filename: str) -> bool:
"""Is `filename` an absolute path on any OS?"""
return ntpath.isabs(filename) or posixpath.isabs(filename)
Expand Down
2 changes: 1 addition & 1 deletion coverage/inorout.py
Expand Up @@ -201,8 +201,8 @@ def __init__(
self.source_pkgs.append(src)
self.source_pkgs_unmatched = self.source_pkgs[:]

self.omit = prep_patterns(config.run_omit)
self.include = prep_patterns(config.run_include)
self.omit = prep_patterns(config.run_omit)

# The directories for files considered "installed with the interpreter".
self.pylib_paths: Set[str] = set()
Expand Down

0 comments on commit 2090f79

Please sign in to comment.