Skip to content

Commit

Permalink
black/isort for test_nullable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
honglei committed Aug 16, 2023
1 parent 045f9bc commit 6e89ad3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_nullable.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
from typing import Optional

import pytest
from pydantic import AnyUrl, UrlConstraints
from sqlalchemy.exc import IntegrityError
from sqlmodel import Field, Session, SQLModel, create_engine
from typing_extensions import Annotated
from pydantic import AnyUrl, UrlConstraints
MoveSharedUrl = Annotated[AnyUrl, UrlConstraints(max_length=512, allowed_schemes=['smb', 'ftp','file'])]

MoveSharedUrl = Annotated[
AnyUrl, UrlConstraints(max_length=512, allowed_schemes=["smb", "ftp", "file"])
]


def test_nullable_fields(clear_sqlmodel, caplog):
Expand Down

0 comments on commit 6e89ad3

Please sign in to comment.