Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Feb 4, 2022
1 parent 9c5a5ec commit c302629
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 @@ -212,7 +212,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 c302629

Please sign in to comment.