Skip to content

Commit 8444246

Browse files
authored
Remove shebang from python files (#84)
1 parent 9222c4d commit 8444246

25 files changed

+0
-52
lines changed

docs/ext/async_db_session.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine
42

53
async_engine = create_async_engine('数据库连接', future=True)

docs/ext/get_db.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from typing import AsyncGenerator
42

53
from sqlalchemy.ext.asyncio import async_sessionmaker, create_async_engine

sqlalchemy_crud_plus/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from .crud import CRUDPlus as CRUDPlus
42
from .types import JoinConfig as JoinConfig
53

sqlalchemy_crud_plus/crud.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from datetime import datetime, timezone
42
from typing import Any, Generic, Sequence, cast
53

sqlalchemy_crud_plus/errors.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
3-
4-
51
class SQLAlchemyCRUDPlusException(Exception):
62
def __init__(self, msg: str) -> None:
73
self.msg = msg

sqlalchemy_crud_plus/types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from __future__ import annotations
42

53
from typing import Any, Literal, TypeVar

sqlalchemy_crud_plus/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from __future__ import annotations
42

53
import warnings

tests/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from typing import AsyncGenerator
42

53
import pytest

tests/models/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-

tests/models/basic.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python3
2-
# -*- coding: utf-8 -*-
31
from datetime import datetime
42

53
from sqlalchemy import String

0 commit comments

Comments
 (0)