Fix flake8
This commit is contained in:
1 parent
a27d931eca
commit
6670fc2c2a
2 files changed
+9
-9
No files matched your search
+2
-2
@@ -46,8 +46,8 @@ class Currency(ModelSQL, ModelView):
|
||||
('check_mon_grouping', 'invalid_mon_grouping'),
|
||||
]
|
||||
cls._error_messages.update({
|
||||
'no_rate': 'No rate found for the currency: ' \
|
||||
'%s at the date: %s',
|
||||
'no_rate': ('No rate found for the currency: '
|
||||
'%s at the date: %s'),
|
||||
'invalid_grouping': 'Invalid Grouping!',
|
||||
})
|
||||
cls.__rpc__.update({
|
||||
|
||||
@@ -25,10 +25,10 @@ requires = []
|
||||
for dep in info.get('depends', []):
|
||||
if not re.match(r'(ir|res|webdav)(\W|$)', dep):
|
||||
requires.append('trytond_%s >= %s.%s, < %s.%s' %
|
||||
(dep, major_version, minor_version, major_version,
|
||||
minor_version + 1))
|
||||
(dep, major_version, minor_version, major_version,
|
||||
minor_version + 1))
|
||||
requires.append('trytond >= %s.%s, < %s.%s' %
|
||||
(major_version, minor_version, major_version, minor_version + 1))
|
||||
(major_version, minor_version, major_version, minor_version + 1))
|
||||
|
||||
setup(name='trytond_currency',
|
||||
version=info.get('version', '0.0.1'),
|
||||
@@ -36,16 +36,16 @@ setup(name='trytond_currency',
|
||||
long_description=read('README'),
|
||||
author='Tryton',
|
||||
url='http://www.tryton.org/',
|
||||
download_url="http://downloads.tryton.org/" + \
|
||||
info.get('version', '0.0.1').rsplit('.', 1)[0] + '/',
|
||||
download_url=("http://downloads.tryton.org/" +
|
||||
info.get('version', '0.0.1').rsplit('.', 1)[0] + '/'),
|
||||
package_dir={'trytond.modules.currency': '.'},
|
||||
packages=[
|
||||
'trytond.modules.currency',
|
||||
'trytond.modules.currency.tests',
|
||||
],
|
||||
package_data={
|
||||
'trytond.modules.currency': info.get('xml', []) \
|
||||
+ ['tryton.cfg', 'locale/*.po', 'icons/*.svg'],
|
||||
'trytond.modules.currency': (info.get('xml', [])
|
||||
+ ['tryton.cfg', 'locale/*.po', 'icons/*.svg']),
|
||||
},
|
||||
classifiers=[
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
|
||||
Reference in new issue
Block a user