Skip to content

Commit 81b8868

Browse files
committed
Merge branch 'master' into json_field
2 parents 8473cbd + 3291a3a commit 81b8868

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

docs/src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
copyright = f"{year}, {author}"
2828

2929

30-
import piccolo # noqa
30+
import piccolo # noqa: E402
3131

3232
version = ".".join(piccolo.__VERSION__.split(".")[:2])
3333
release = piccolo.__VERSION__

piccolo/query/methods/__init__.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
from .alter import Alter # noqa
2-
from .count import Count # noqa
3-
from .create import Create # noqa
4-
from .create_index import CreateIndex # noqa
5-
from .delete import Delete # noqa
6-
from .drop_index import DropIndex # noqa
7-
from .exists import Exists # noqa
8-
from .insert import Insert # noqa
9-
from .objects import Objects # noqa
10-
from .raw import Raw # noqa
11-
from .select import Select # noqa
12-
from .table_exists import TableExists # noqa
13-
from .update import Update # noqa
1+
from .alter import Alter # noqa: F401: F401
2+
from .count import Count # noqa: F401
3+
from .create import Create # noqa: F401
4+
from .create_index import CreateIndex # noqa: F401
5+
from .delete import Delete # noqa: F401
6+
from .drop_index import DropIndex # noqa: F401
7+
from .exists import Exists # noqa: F401
8+
from .insert import Insert # noqa: F401
9+
from .objects import Objects # noqa: F401
10+
from .raw import Raw # noqa: F401
11+
from .select import Select # noqa: F401
12+
from .table_exists import TableExists # noqa: F401
13+
from .update import Update # noqa: F401

piccolo/querystring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __str__(self):
8181
def bundle(
8282
self,
8383
start_index: int = 1,
84-
bundled: t.Optional[t.List] = None,
84+
bundled: t.Optional[t.List[Fragment]] = None,
8585
combined_args: t.Optional[t.List] = None,
8686
):
8787
# Split up the string, separating by {}.

tests/apps/user/commands/test_create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ def test_create(self, *args, **kwargs):
3737
self.assertTrue(
3838
BaseUser.exists()
3939
.where(
40-
(BaseUser.admin == True)
40+
(BaseUser.admin == True) # noqa: E712
4141
& (BaseUser.username == "bob123")
42-
& (BaseUser.email == "[email protected]") # noqa
42+
& (BaseUser.email == "[email protected]")
4343
)
4444
.run_sync()
4545
)

0 commit comments

Comments
 (0)