fix import order
This commit is contained in:
parent
cb6e4cd184
commit
3da120f1c6
@ -1,6 +1,5 @@
|
|||||||
import json
|
import json
|
||||||
from contextlib import suppress
|
from datetime import datetime, time, timedelta
|
||||||
from datetime import datetime, timedelta, time
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
import pytz
|
import pytz
|
||||||
@ -8,7 +7,10 @@ from django.core.management.base import BaseCommand
|
|||||||
from django.db import transaction
|
from django.db import transaction
|
||||||
from django.utils.dateparse import parse_date
|
from django.utils.dateparse import parse_date
|
||||||
|
|
||||||
from byro.bookkeeping.models import TransactionChannel, RealTransaction, VirtualTransaction, Account, AccountCategory
|
from byro.bookkeeping.models import (
|
||||||
|
Account, AccountCategory, RealTransaction,
|
||||||
|
TransactionChannel, VirtualTransaction,
|
||||||
|
)
|
||||||
from byro.members.models import Member, Membership
|
from byro.members.models import Member, Membership
|
||||||
|
|
||||||
TIMEZONE = pytz.timezone('Europe/Berlin')
|
TIMEZONE = pytz.timezone('Europe/Berlin')
|
||||||
|
4
setup.py
4
setup.py
@ -2,8 +2,7 @@ import os
|
|||||||
from distutils.command.build import build
|
from distutils.command.build import build
|
||||||
|
|
||||||
from django.core import management
|
from django.core import management
|
||||||
from setuptools import setup, find_packages
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
|
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as f:
|
||||||
@ -42,4 +41,3 @@ setup(
|
|||||||
byro_shackspace=byro_shackspace:ByroPluginMeta
|
byro_shackspace=byro_shackspace:ByroPluginMeta
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user