Commit 04d5baef authored by Luca Cristaldi's avatar Luca Cristaldi

ShUt Up PeP8, YoU aRe Not ThE BoSs oFf mE

parent 5fdd62f5
Pipeline #25 passed with stages
in 49 seconds
from trytond.model import ModelView, fields
from trytond.pool import PoolMeta
from stdnum.it import codicefiscale, iva
__all__ = ['PartyIdentifier']
class PartyIdentifier(metaclass=PoolMeta):
__name__ = 'party.identifier'
......@@ -79,4 +79,4 @@ class PartyIdentifier(metaclass=PoolMeta):
return iva.compact(self.code)
except ValidationError:
pass
return code
\ No newline at end of file
return code
......@@ -20,7 +20,7 @@ def get_require_version(name):
else:
require = '%s >= %s.%s, < %s.%s'
require %= (name, major_version, minor_version,
major_version, minor_version + 1)
major_version, minor_version + 1)
return require
......@@ -48,7 +48,8 @@ dependency_links = []
if minor_version % 2:
dependency_links.append('https://trydevpi.tryton.org/')
setup(name=name,
setup(
name=name,
version=version,
description='Add support for italian VAT number and tax code',
long_description=read('README'),
......@@ -62,10 +63,11 @@ setup(name=name,
['trytond.modules.party_italy.%s' % p for p in find_packages()]
),
package_data={
'trytond.modules.party_italy': (info.get('xml', [])
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.fodt',
'icons/*.svg', 'tests/*.rst']),
},
'trytond.modules.party_italy': (info.get('xml', []) +
['tryton.cfg', 'view/*.xml',
'locale/*.po', '*.fodt',
'icons/*.svg', 'tests/*.rst']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Plugins',
......@@ -73,7 +75,8 @@ setup(name=name,
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Legal Industry',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'License :: OSI Approved :: \
GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: Bulgarian',
'Natural Language :: Catalan',
'Natural Language :: Chinese (Simplified)',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment