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 a0aa11b commit d1591e0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
6 changes: 3 additions & 3 deletions repos/c2sm/packages/cosmo/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ def setup_build_environment(self, env):

# Netcdf library
env.set(
'NETCDFL', '-L' + self.spec['netcdf-fortran'].prefix +
'/lib -lnetcdff -L' + self.spec['netcdf-c'].prefix +
'/lib -lnetcdf')
'NETCDFL',
'-L' + self.spec['netcdf-fortran'].prefix + '/lib -lnetcdff -L' +
self.spec['netcdf-c'].prefix + '/lib -lnetcdf')
env.set('NETCDFI',
'-I' + self.spec['netcdf-fortran'].prefix + '/include')

Expand Down
8 changes: 5 additions & 3 deletions repos/c2sm/packages/icontools/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ class Icontools(AutotoolsPackage):
depends_on('[email protected] +fortran ~aec', type=('build', 'link', 'run'))
depends_on('[email protected]', type=('build', 'link'))

variant('slave',
default='none',
description='Build on described slave machine',)
variant(
'slave',
default='none',
description='Build on described slave machine',
)
variant('slurm_account',
default='g110',
description=
Expand Down
6 changes: 3 additions & 3 deletions repos/c2sm/packages/int2lm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def setup_build_environment(self, env):

# Netcdf library
env.set(
'NETCDFL', '-L' + self.spec['netcdf-fortran'].prefix +
'/lib -lnetcdff -L' + self.spec['netcdf-c'].prefix +
'/lib64 -lnetcdf')
'NETCDFL',
'-L' + self.spec['netcdf-fortran'].prefix + '/lib -lnetcdff -L' +
self.spec['netcdf-c'].prefix + '/lib64 -lnetcdf')
env.set('NETCDFI',
'-I' + self.spec['netcdf-fortran'].prefix + '/include')

Expand Down
3 changes: 1 addition & 2 deletions test/unit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def test_explicit_scope_1_machine_1_package(self):

def test_explicit_scope_2_machines_2_packages(self):
scope = explicit_scope('balfrin cosmo icon')
self.assertEqual(sorted(scope),
sorted(['balfrin', 'cosmo', 'icon']))
self.assertEqual(sorted(scope), sorted(['balfrin', 'cosmo', 'icon']))

def test_explicit_scope_0_machines_1_package(self):
scope = explicit_scope('cosmo')
Expand Down

0 comments on commit d1591e0

Please sign in to comment.