Skip to content

Commit

Permalink
reformat code to pass GH actions
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Šoltis <[email protected]>
  • Loading branch information
slimreaper35 authored and ejegrova committed Mar 7, 2024
1 parent 18be021 commit 17f1591
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions cachi2/core/package_managers/yarn/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
It also provides basic utility functions. The main logic to resolve and prefetch the dependencies
should be implemented in other modules.
"""

import json
import logging
import re
Expand Down
1 change: 1 addition & 0 deletions cachi2/core/package_managers/yarn/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
It also performs the necessary validations to avoid allowing an invalid project to keep being
processed.
"""

import json
import logging
import zipfile
Expand Down
8 changes: 5 additions & 3 deletions tests/unit/package_managers/test_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -2804,9 +2804,11 @@ def test_process_package_distributions_with_checksums(
package_name,
version,
"wheel",
digests={"sha128": "abcdef", "sha256": "abcdef", "sha512": "yyyyyy"}
if use_pypi_digests
else {},
digests=(
{"sha128": "abcdef", "sha256": "abcdef", "sha512": "yyyyyy"}
if use_pypi_digests
else {}
),
),
],
None,
Expand Down

0 comments on commit 17f1591

Please sign in to comment.