Skip to content

Commit 06b28f6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d2e5aee commit 06b28f6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pytest_filecov/plugin/gitlist.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
import subprocess
44

55

6-
76
class GitLsFiles:
87
def __init__(self, dirs: Sequence[str]):
98
self.dirs = dirs
109

1110
def __iter__(self) -> Iterable[str]:
12-
cmd = ['git', 'ls-files', '-z']
11+
cmd = ["git", "ls-files", "-z"]
1312
cmd.extend(self.dirs)
1413
proc = subprocess.run(cmd, stdout=subprocess.PIPE, check=True)
15-
names = proc.stdout.split(b'\x00')
14+
names = proc.stdout.split(b"\x00")
1615
return sorted([name.decode() for name in names if name]).__iter__()

pytest_filecov/plugin/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def start(self):
1212
@abstractmethod
1313
def stop(self) -> Set[str]:
1414
"""Stop watching access events.
15-
15+
1616
Returns all paths known to have been accessed while
1717
the watcher was active.
1818
"""

0 commit comments

Comments
 (0)