Skip to content

Commit 94d0cb3

Browse files
committed
experiment with from future import
1 parent efe58df commit 94d0cb3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -e
44
set -x
55

6-
mypy --no-incremental --show-absolute-path ./sqlmodel
6+
mypy sqlmodel
77
ruff check sqlmodel tests docs_src scripts
88
ruff format sqlmodel tests docs_src scripts --check

sqlmodel/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import ipaddress
24
import uuid
35
import weakref

0 commit comments

Comments
 (0)