Skip to content

Commit

Permalink
Fix flake8 errors related to whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Sep 6, 2018
1 parent 1dddf51 commit c2e5263
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion asdf/asdftypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def add_by_tag(name, version):
self._type_by_name[name] = asdftype
add_all_types(asdftype)

# Process all types defined in the ASDF version map
# Process all types defined in the ASDF version map
for name, _version in version_map.items():
add_by_tag(name, AsdfVersion(_version))

Expand Down
1 change: 0 additions & 1 deletion asdf/commands/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# -*- coding: utf-8 -*-

2 changes: 1 addition & 1 deletion asdf/tagged.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def tag_object(tag, instance, ctx=None):
try:
instance = yamlutil.custom_tree_to_tagged_tree(instance, ctx)
except TypeError:
raise TypeError("Don't know how to tag a {0}".format(type(instance)))
raise TypeError("Don't know how to tag a {0}".format(type(instance)))
instance._tag = tag
return instance

Expand Down
2 changes: 1 addition & 1 deletion asdf/tags/core/tests/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_old_history(tmpdir):
"""Make sure that old versions of the history format are still accepted"""

yaml = """
history:
history:
- !core/history_entry-1.0.0
description: "Here's a test of old history entries"
software: !core/software-1.0.0
Expand Down
1 change: 0 additions & 1 deletion asdf/tags/wcs/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

2 changes: 1 addition & 1 deletion asdf/tests/test_compression.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def test_bzp2(tmpdir):

_roundtrip(tmpdir, tree, 'bzp2')


def test_lz4(tmpdir):
pytest.importorskip('lz4')
tree = _get_large_tree()
Expand Down

0 comments on commit c2e5263

Please sign in to comment.