Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jasquat committed Oct 18, 2023
1 parent 282f735 commit 3e4a406
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/connector_postgres_v2/base_command.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from typing import Any
import json
from typing import Any

import psycopg2 # type: ignore
from spiffworkflow_connector_command.command_interface import CommandErrorDict
Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/create_table_v2.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class CreateTableV2(BaseCommand, ConnectorCommand):

Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/delete_values_v2.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class DeleteValuesV2(BaseCommand, ConnectorCommand):

Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/do_sql_v2.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from psycopg2.extensions import register_adapter # type: ignore
from psycopg2.extras import Json # type: ignore
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand

register_adapter(dict, Json)

class DoSQL(BaseCommand, ConnectorCommand):
Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/drop_table_v2.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class DropTableV2(BaseCommand, ConnectorCommand):

Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/insert_values_v2.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class InsertValuesV2(BaseCommand, ConnectorCommand):

Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/select_values_v2.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class SelectValuesV2(BaseCommand, ConnectorCommand):

Expand Down
3 changes: 1 addition & 2 deletions src/connector_postgres_v2/commands/update_values_v2.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@

from typing import Any

from connector_postgresql.base_command import BaseCommand
from spiffworkflow_connector_command.command_interface import ConnectorCommand
from spiffworkflow_connector_command.command_interface import ConnectorProxyResponseDict

from connector_postgresql.base_command import BaseCommand


class UpdateValuesV2(BaseCommand, ConnectorCommand):

Expand Down

0 comments on commit 3e4a406

Please sign in to comment.