diff options
author | Christopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com> | 2023-11-30 08:46:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 09:46:02 +0100 |
commit | 3bc8a7aa5fb0560312728ec7acfced222e1e30c1 (patch) | |
tree | 8c3e101cce6fad229a5171fd6530c89f5cd019f3 /lib/spack/docs/build_systems/mesonpackage.rst | |
parent | 3b045c289dabda35a8c754a8683fb4214c206d04 (diff) | |
download | spack-3bc8a7aa5fb0560312728ec7acfced222e1e30c1.tar.gz spack-3bc8a7aa5fb0560312728ec7acfced222e1e30c1.tar.bz2 spack-3bc8a7aa5fb0560312728ec7acfced222e1e30c1.tar.xz spack-3bc8a7aa5fb0560312728ec7acfced222e1e30c1.zip |
use double quotes where spack style finds errors (#41349)
Diffstat (limited to 'lib/spack/docs/build_systems/mesonpackage.rst')
-rw-r--r-- | lib/spack/docs/build_systems/mesonpackage.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/docs/build_systems/mesonpackage.rst b/lib/spack/docs/build_systems/mesonpackage.rst index e2f2e0a99e..6b662c114e 100644 --- a/lib/spack/docs/build_systems/mesonpackage.rst +++ b/lib/spack/docs/build_systems/mesonpackage.rst @@ -86,8 +86,8 @@ the ``MesonPackage`` base class already contains: .. code-block:: python - depends_on('meson', type='build') - depends_on('ninja', type='build') + depends_on("meson", type="build") + depends_on("ninja", type="build") If you need to specify a particular version requirement, you can @@ -95,8 +95,8 @@ override this in your package: .. code-block:: python - depends_on('meson@0.43.0:', type='build') - depends_on('ninja', type='build') + depends_on("meson@0.43.0:", type="build") + depends_on("ninja", type="build") ^^^^^^^^^^^^^^^^^^^ @@ -121,7 +121,7 @@ override the ``meson_args`` method like so: .. code-block:: python def meson_args(self): - return ['--warnlevel=3'] + return ["--warnlevel=3"] This method can be used to pass flags as well as variables. |