From: Raphael Michel Date: Tue, 16 Oct 2018 05:02:08 +0000 (+0200) Subject: Fix style errors X-Git-Tag: 1.0.0~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8486e810e8369d4fcfaf8aa38ac99b789f0af345;p=thirdparty%2Fpython-drafthorse.git Fix style errors --- diff --git a/drafthorse/models/accounting.py b/drafthorse/models/accounting.py index 0d8320a..4316610 100644 --- a/drafthorse/models/accounting.py +++ b/drafthorse/models/accounting.py @@ -1,7 +1,7 @@ from . import BASIC, COMFORT, EXTENDED, NS_RAM from .elements import Element from .fields import (CurrencyField, DateTimeField, DecimalField, - IndicatorField, MultiField, StringField, QuantityField) + IndicatorField, MultiField, QuantityField, StringField) class LineApplicableTradeTax(Element): diff --git a/drafthorse/models/payment.py b/drafthorse/models/payment.py index 9dfb7d9..dc41d6b 100644 --- a/drafthorse/models/payment.py +++ b/drafthorse/models/payment.py @@ -1,8 +1,8 @@ from . import BASIC, COMFORT, EXTENDED, NS_RAM from .elements import Element -from .fields import (CurrencyField, DateTimeField, DecimalField, Field, - IDField, MultiCurrencyField, MultiStringField, - StringField, AgencyIDField, QuantityField) +from .fields import (AgencyIDField, CurrencyField, DateTimeField, DecimalField, + Field, MultiCurrencyField, MultiStringField, + QuantityField, StringField) class PayerFinancialAccount(Element): diff --git a/drafthorse/models/references.py b/drafthorse/models/references.py index 025ce65..3aee98f 100644 --- a/drafthorse/models/references.py +++ b/drafthorse/models/references.py @@ -1,6 +1,6 @@ from . import COMFORT, EXTENDED, NS_RAM from .elements import Element -from .fields import StringField, DirectDateTimeField +from .fields import DirectDateTimeField, StringField class ReferencedDocument(Element): diff --git a/drafthorse/models/trade.py b/drafthorse/models/trade.py index 42c197e..5a420da 100644 --- a/drafthorse/models/trade.py +++ b/drafthorse/models/trade.py @@ -1,7 +1,7 @@ from . import BASIC, COMFORT, EXTENDED, NS_RAM, NS_FERD_1p0 -from .accounting import (ApplicableTradeTax, +from .accounting import (ApplicableTradeTax, AppliedTradeTax, BillingSpecifiedPeriod, MonetarySummation, - TradeAllowanceCharge, AppliedTradeTax, ReceivableAccountingAccount) + ReceivableAccountingAccount, TradeAllowanceCharge) from .delivery import TradeDelivery from .elements import Element from .fields import CurrencyField, Field, MultiField, StringField