Follow isort formatting
issue10928
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
[settings]
|
||||
multi_line_output=4
|
||||
known_first_party=trytond
|
||||
@@ -4,7 +4,8 @@
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
|
||||
def read(fname):
|
||||
|
||||
@@ -3,11 +3,12 @@
|
||||
|
||||
from sql import Null
|
||||
from sql.operators import Not
|
||||
|
||||
from trytond import backend
|
||||
from trytond.model import fields
|
||||
from trytond.model.fields.field import SQL_OPERATORS
|
||||
|
||||
from trytond_gis import _GeoJSON, sql as geo_sql
|
||||
from trytond_gis import _GeoJSON
|
||||
from trytond_gis import sql as geo_sql
|
||||
|
||||
GEOGRAPHIC_OPERATORS = {
|
||||
'=': geo_sql.ST_Equals,
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
from trytond.backend.postgresql.database import (
|
||||
DatabaseIntegrityError, DatabaseOperationalError)
|
||||
|
||||
from .database import Database
|
||||
from .table import TableHandler
|
||||
|
||||
|
||||
@@ -3,12 +3,11 @@
|
||||
import binascii
|
||||
|
||||
from geomet import wkb
|
||||
from psycopg2.extensions import (register_adapter, new_type, register_type,
|
||||
Binary)
|
||||
from psycopg2.extensions import (
|
||||
Binary, new_type, register_adapter, register_type)
|
||||
|
||||
from trytond.backend.postgresql.database import Database as PGDatabase
|
||||
from trytond.config import parse_uri
|
||||
|
||||
from trytond_gis import _GeoJSON
|
||||
|
||||
|
||||
|
||||
@@ -2,10 +2,9 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import logging
|
||||
|
||||
from trytond.backend.postgresql.table import TableHandler as PGTableHandler
|
||||
from trytond.config import config
|
||||
from trytond.transaction import Transaction
|
||||
from trytond.backend.postgresql.table import TableHandler as PGTableHandler
|
||||
|
||||
from trytond_gis.const import GIS_SQL_TYPE_RE, WGS_84
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
from . import gis
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
# This file is part of trytond_gis. The COPYRIGHT file at the top level of
|
||||
# this repository contains the full copyright notices and license terms.
|
||||
import unittest
|
||||
|
||||
from sql import Null
|
||||
|
||||
from trytond.pool import Pool
|
||||
|
||||
Reference in New Issue
Block a user