flake8: make entire repository pass spack flake8 -a

- Fix trailing whitespace missed by the bug described in #12755.

- Fix other style issues that have crept in over time (this can happen
  when flake8 adds new checks with new versions)
This commit is contained in:
Todd Gamblin
2019-09-07 19:27:51 -07:00
parent 0ec80e8f16
commit a2220f3150
69 changed files with 346 additions and 337 deletions

View File

@@ -18,7 +18,7 @@ class Abyss(AutotoolsPackage):
version('2.0.2', '1623f55ad7f4586e80f6e74b1f27c798')
version('1.5.2', '10d6d72d1a915e618d41a5cbbcf2364c')
variant('maxk', values=int, default=0,
variant('maxk', values=int, default=0,
description='''set the maximum k-mer length.
This value must be a multiple of 32''')
@@ -44,7 +44,7 @@ def configure_args(self):
'--with-sqlite=%s' % self.spec['sqlite'].prefix,
'--with-mpi=%s' % self.spec['mpi'].prefix]
if maxk:
args.append('--enable-maxk=%s' % maxk)
args.append('--enable-maxk=%s' % maxk)
if self.spec['mpi'].name == 'mpich':
args.append('--enable-mpich')
args.append('--enable-mpich')
return args