Skip to content

Commit

Permalink
Make black happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetown committed Dec 2, 2021
1 parent 97837e2 commit d09397e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions gcovr/gcov.py
Expand Up @@ -28,7 +28,9 @@
from .gcov_parser import parse_metadata, parse_coverage, ParserFlags

output_re = re.compile(r"[Cc]reating [`'](.*)'$")
source_re = re.compile(r"(?:[Cc](?:annot|ould not) open (?:source|graph|output) file|: No such file or directory)")
source_re = re.compile(
r"(?:[Cc](?:annot|ould not) open (?:source|graph|output) file|: No such file or directory)"
)
unknown_cla_re = re.compile(r"Unknown command line argument")

exclude_line_flag = "_EXCL_"
Expand Down Expand Up @@ -442,9 +444,7 @@ def run_gcov_and_process_files(
return done


def select_gcov_files_from_stdout(
out, gcov_filter, gcov_exclude, logger, chdir
):
def select_gcov_files_from_stdout(out, gcov_filter, gcov_exclude, logger, chdir):
active_files = []
all_files = []

Expand Down
4 changes: 3 additions & 1 deletion noxfile.py
Expand Up @@ -67,7 +67,9 @@ def lint(session: "nox.session") -> None:
)
session.run("python", "-m", "black", "--diff", *DEFAULT_TEST_DIRECTORIES)
else:
session.log(f"Skip black because of platform {platform.python_implementation()}.")
session.log(
f"Skip black because of platform {platform.python_implementation()}."
)


@nox.session
Expand Down

0 comments on commit d09397e

Please sign in to comment.