Skip to content

Commit

Permalink
Fixed lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Oct 26, 2021
1 parent f59afa5 commit 8704d7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions flytekit/types/schema/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Type

import numpy as _np
from dataclasses_json import dataclass_json, config
from dataclasses_json import config, dataclass_json
from marshmallow import fields

from flytekit.core.context_manager import FlyteContext, FlyteContextManager
Expand Down Expand Up @@ -172,7 +172,9 @@ def get_handler(cls, t: Type) -> SchemaHandler:
@dataclass_json
@dataclass
class FlyteSchema(object):
supported_mode: typing.Optional[str] = field(default=SchemaOpenMode.WRITE, metadata=config(mm_field=fields.String()))
supported_mode: typing.Optional[str] = field(
default=SchemaOpenMode.WRITE, metadata=config(mm_field=fields.String())
)
local_path: typing.Optional[str] = field(default=None, metadata=config(mm_field=fields.String()))
remote_path: typing.Optional[str] = field(default=None, metadata=config(mm_field=fields.String()))
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/flytekit/unit/core/test_type_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from marshmallow_jsonschema import JSONSchema

import flytekit.models.core.types
from flytekit import workflow, task, kwtypes
from flytekit import kwtypes, task, workflow
from flytekit.common.exceptions import user as user_exceptions
from flytekit.core.context_manager import FlyteContext, FlyteContextManager
from flytekit.core.type_engine import (
Expand Down

0 comments on commit 8704d7c

Please sign in to comment.