Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 2, 2022
1 parent 8f60881 commit b08a514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion repo_helper/files/ci_cd.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ def get_gh_actions_matrix(self) -> Dict[str, Tuple[str, bool]]:

if "matrix_exclude" in metadata:
third_party_exclude = list(map(str, metadata["matrix_exclude"].get(third_party_library, [])))
third_party_versions = list(filterfalse(third_party_exclude.__contains__, third_party_versions))
third_party_versions = list(
filterfalse(third_party_exclude.__contains__, third_party_versions)
)

matrix_testenv_string = f"-{third_party_library}{{{','.join(third_party_versions)}}}"
else:
Expand Down
4 changes: 3 additions & 1 deletion repo_helper/files/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ def _get_third_party_envs(self) -> Tuple[List[str], List[str]]:

if "matrix_exclude" in metadata:
third_party_exclude = list(map(str, metadata["matrix_exclude"].get(third_party_library, [])))
third_party_versions = list(filterfalse(third_party_exclude.__contains__, third_party_versions))
third_party_versions = list(
filterfalse(third_party_exclude.__contains__, third_party_versions)
)

matrix_testenv_string = f"-{third_party_library}{{{','.join(third_party_versions)}}}"

Expand Down

0 comments on commit b08a514

Please sign in to comment.