summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pythia6
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-09-07 19:27:51 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-09-07 23:59:10 -0700
commita2220f31500f93cda3eabbafae0626b18b1c097a (patch)
tree923308135e23b3f3eaef8c2314ad0333d0ad33ff /var/spack/repos/builtin/packages/pythia6
parent0ec80e8f161d90120ce161f35dc00b026a57ddd9 (diff)
downloadspack-a2220f31500f93cda3eabbafae0626b18b1c097a.tar.gz
spack-a2220f31500f93cda3eabbafae0626b18b1c097a.tar.bz2
spack-a2220f31500f93cda3eabbafae0626b18b1c097a.tar.xz
spack-a2220f31500f93cda3eabbafae0626b18b1c097a.zip
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)
Diffstat (limited to 'var/spack/repos/builtin/packages/pythia6')
-rw-r--r--var/spack/repos/builtin/packages/pythia6/package.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/var/spack/repos/builtin/packages/pythia6/package.py b/var/spack/repos/builtin/packages/pythia6/package.py
index cfb9313cfc..a1a8632c2a 100644
--- a/var/spack/repos/builtin/packages/pythia6/package.py
+++ b/var/spack/repos/builtin/packages/pythia6/package.py
@@ -108,17 +108,14 @@ class Pythia6(CMakePackage):
sha256=checksum,
expand=False,
destination='example',
- placement={example: example}
- )
+ placement={example: example})
# Docs.
- docs \
- = {'http://www.hepforge.org/archive/pythiasix/update_notes-6.4.28.txt':
- 'a229be4ba9a4eb65a9d53600a5f388b620038d56694c6cb4671c2be224b67751',
- 'http://home.thep.lu.se/~torbjorn/pythia6/lutp0613man2.pdf':
- '03d637310ea80f0d7aea761492bd38452c602890d8cf913a1ec9edacd79fa43d',
- 'https://pythiasix.hepforge.org/pythia6-announcement.txt':
- '2a52def41f0c93e32e0db58dbcf072b987ebfbd32e42ccfc1f9382fcf65f1271'}
+ docs = {
+ 'http://www.hepforge.org/archive/pythiasix/update_notes-6.4.28.txt': 'a229be4ba9a4eb65a9d53600a5f388b620038d56694c6cb4671c2be224b67751',
+ 'http://home.thep.lu.se/~torbjorn/pythia6/lutp0613man2.pdf': '03d637310ea80f0d7aea761492bd38452c602890d8cf913a1ec9edacd79fa43d',
+ 'https://pythiasix.hepforge.org/pythia6-announcement.txt': '2a52def41f0c93e32e0db58dbcf072b987ebfbd32e42ccfc1f9382fcf65f1271'
+ }
for docurl, checksum in iteritems(docs):
doc = os.path.basename(urlparse(docurl).path)
@@ -127,8 +124,7 @@ class Pythia6(CMakePackage):
sha256=checksum,
expand=False,
destination='doc',
- placement={doc: doc}
- )
+ placement={doc: doc})
# The included patch customizes some routines provided in dummy form
# by the original source to be useful out of the box in the vast