Skip to content

Commit 4003413

Browse files
Fix lint from #1159 (#1258)
* Update modifier.py * Update ci.yml * Update modifier.py
1 parent d6745b0 commit 4003413

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- 'docs/conf.py'
6161
- 'experiments/**'
6262
- 'lib/**'
63+
- 'modifiers/**'
6364
- 'repo/**'
6465
- 'systems/**'
6566
- 'var/**'

modifiers/allocation/modifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ def pbs_instructions(self, v):
488488
if v.n_gpus:
489489
gpus_per_rank = self.gpus_as_gpus_per_rank(v.n_gpus)
490490
node_spec.append(f"gpus={gpus_per_rank}")
491-
491+
492492
if node_spec:
493493
batch_opts.append(f"-l {':'.join(node_spec)}")
494494
else:

0 commit comments

Comments
 (0)