Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sanand0 committed Feb 10, 2019
1 parent ec47b0a commit 4d2cd77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ install:

# command to run tests, e.g. python setup.py test
script:
- flake8
- flake8 xmljson tests
- python setup.py test
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ universal = 1
license_file = LICENSE

[flake8]
ignore = E911
ignore = E911,W504
max-line-length = 99
2 changes: 1 addition & 1 deletion tests/test_xmljson.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_data(self):
def test_xml_namespace(self):
'XML namespaces are not yet implemented'
with self.assertRaises(ValueError):
xmljson.badgerfish.etree({'alice': {'@xmlns': {'$': 'http:\/\/some-namespace'}}})
xmljson.badgerfish.etree({'alice': {'@xmlns': {'$': 'http://some-namespace'}}})

def test_custom_dict(self):
'Conversion to dict uses OrderedDict'
Expand Down

0 comments on commit 4d2cd77

Please sign in to comment.