Skip to content

Commit

Permalink
Updated to latest flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Dec 16, 2016
1 parent 31a89b2 commit ef02dbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions moneyed/classes.py
Expand Up @@ -252,6 +252,7 @@ def get_currency(code=None, iso=None):
except KeyError:
raise CurrencyDoesNotExist(code)


DEFAULT_CURRENCY = add_currency(DEFAULT_CURRENCY_CODE, '999', 'Default currency.', [])


Expand Down
1 change: 1 addition & 0 deletions moneyed/localization.py
Expand Up @@ -121,6 +121,7 @@ def format(self, money, include_symbol=True, locale=DEFAULT,

return ''.join(reversed(result))


_FORMATTER = CurrencyFormatter()

format_money = _FORMATTER.format
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -17,6 +17,7 @@ def run_tests(self):
errno = tox.cmdline(self.test_args)
sys.exit(errno)


setup(
name='py-moneyed',
packages=['moneyed'],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -9,7 +9,7 @@ deps=
commands = py.test

[testenv:flake]
deps = flake8==2.5.1
deps = flake8==3.2.1
commands = flake8

[testenv:checkmanifest]
Expand Down

0 comments on commit ef02dbc

Please sign in to comment.