Skip to content

Commit

Permalink
GitHub Action: Apply Pep8-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 9, 2024
1 parent 9260772 commit e85cd77
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def test_icon_fcgroup():


def test_icon_extra_config_args():
spack_spec("icon extra-config-args=--disable-new_feature,--enable-old_config_arg")
spack_spec(
"icon extra-config-args=--disable-new_feature,--enable-old_config_arg")


def test_int2lm_parallel():
Expand Down
4 changes: 2 additions & 2 deletions test/spack_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
REPO_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..")
PACKAGES_DIR = os.path.join(REPO_DIR, "repo", "packages")
ALL_PACKAGES = [
name
for name in os.listdir(PACKAGES_DIR)
name for name in os.listdir(PACKAGES_DIR)
if os.path.isdir(os.path.join(PACKAGES_DIR, name))
]


def time_format(seconds) -> str:
"Returns a string formatted as 'XXh YYm ZZ.ZZs'."

Expand Down
1 change: 1 addition & 0 deletions test/unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@


class TimeFormatTest(unittest.TestCase):

def test_example(self):
self.assertEqual(time_format(0.123), "0.12s")
self.assertEqual(time_format(123.456), "2m 3.46s")
Expand Down
1 change: 1 addition & 0 deletions tools/package_overlap.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os

spack = set(os.listdir("./spack/var/spack/repos/builtin/packages"))
spack_c2sm = set(os.listdir("./repo/packages"))

Expand Down

0 comments on commit e85cd77

Please sign in to comment.