Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bachmann1234 committed Feb 1, 2024
1 parent 3e61845 commit e7090bc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions diff_cover/command_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ def execute(command, exit_codes=None):
sys.stderr.write(
" ".join(
[
cmd.decode(sys.getfilesystemencoding())
if isinstance(cmd, bytes)
else cmd
(
cmd.decode(sys.getfilesystemencoding())
if isinstance(cmd, bytes)
else cmd
)
for cmd in command
]
)
Expand Down
1 change: 1 addition & 0 deletions diff_cover/diff_reporter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Classes for querying which lines have changed based on a diff.
"""

import fnmatch
import glob
import os
Expand Down
1 change: 1 addition & 0 deletions diff_cover/git_diff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Wrapper for `git diff` command.
"""

from textwrap import dedent

from diff_cover.command_runner import CommandError, execute
Expand Down
1 change: 1 addition & 0 deletions diff_cover/git_path.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Converter for `git diff` paths
"""

import os
import sys

Expand Down
1 change: 1 addition & 0 deletions diff_cover/report_generator.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Classes for generating diff coverage reports.
"""

import contextlib
import json
import os
Expand Down
1 change: 1 addition & 0 deletions diff_cover/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Load snippets from source files to show violation lines
in HTML reports.
"""

import contextlib
from tokenize import open as openpy

Expand Down
1 change: 1 addition & 0 deletions tests/helpers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Test helper functions.
"""

import os.path
import random

Expand Down

0 comments on commit e7090bc

Please sign in to comment.