summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin.mock/packages/dependent-install/package.py
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2022-07-30 15:19:18 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2022-07-31 13:29:20 -0700
commitf52f6e99dbf1131886a80112b8c79dfc414afb7c (patch)
tree05cb7d64b2395922f2f24683da49f472075be12c /var/spack/repos/builtin.mock/packages/dependent-install/package.py
parent549ba1ed32372c67fc57271cde3797d58b7dec6e (diff)
downloadspack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.gz
spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.bz2
spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.tar.xz
spack-f52f6e99dbf1131886a80112b8c79dfc414afb7c.zip
black: reformat entire repository with black
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/dependent-install/package.py')
-rw-r--r--var/spack/repos/builtin.mock/packages/dependent-install/package.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/var/spack/repos/builtin.mock/packages/dependent-install/package.py b/var/spack/repos/builtin.mock/packages/dependent-install/package.py
index 9c4308cfb8..05c7123e61 100644
--- a/var/spack/repos/builtin.mock/packages/dependent-install/package.py
+++ b/var/spack/repos/builtin.mock/packages/dependent-install/package.py
@@ -10,13 +10,13 @@ class DependentInstall(Package):
"""Dependent which has a working install method"""
homepage = "http://www.example.com"
- url = "http://www.example.com/a-1.0.tar.gz"
+ url = "http://www.example.com/a-1.0.tar.gz"
- version('1.0', '0123456789abcdef0123456789abcdef')
- version('2.0', '0123456789abcdef0123456789abcdef')
+ version("1.0", "0123456789abcdef0123456789abcdef")
+ version("2.0", "0123456789abcdef0123456789abcdef")
- depends_on('dependency-install@2.0', when='@2.0')
- depends_on('dependency-install@1.0', when='@1.0')
+ depends_on("dependency-install@2.0", when="@2.0")
+ depends_on("dependency-install@1.0", when="@1.0")
def install(self, spec, prefix):
- touch(join_path(prefix, 'an_installation_file'))
+ touch(join_path(prefix, "an_installation_file"))