File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ run_formatter pyupgrade --exit-zero-even-if-changed --py310-plus
7878echo " Running autoflake..."
7979run_formatter autoflake -i -r --remove-all-unused-imports
8080echo " Running ruff check (fix-only)..."
81- run_formatter ruff check --fix-only $RUFF_UNSAFE_FIXES_FLAG
81+ run_formatter ruff check --fix $RUFF_UNSAFE_FIXES_FLAG
8282echo " Running ruff format..."
8383run_formatter ruff format
8484
Original file line number Diff line number Diff line change 1+ # ruff: noqa: PLC0415
12import json
23import logging
34
@@ -94,7 +95,7 @@ def __init__(
9495
9596 if encryption_key :
9697 try :
97- from cryptography .fernet import Fernet # noqa: PLC0415
98+ from cryptography .fernet import Fernet
9899 except ImportError as e :
99100 raise ImportError (
100101 "DatabasePushNotificationConfigStore with encryption requires the 'cryptography' "
@@ -166,7 +167,7 @@ def _from_orm(
166167 payload = model_instance .config_data
167168
168169 if self ._fernet :
169- from cryptography .fernet import InvalidToken # noqa: PLC0415
170+ from cryptography .fernet import InvalidToken
170171
171172 try :
172173 decrypted_payload = self ._fernet .decrypt (payload )
Original file line number Diff line number Diff line change 2222 FilePart ,
2323 FileWithBytes ,
2424 FileWithUri ,
25- GetTaskPushNotificationConfigParams ,
26- GetTaskPushNotificationConfigRequest ,
2725 GetAuthenticatedExtendedCardRequest ,
2826 GetAuthenticatedExtendedCardResponse ,
2927 GetAuthenticatedExtendedCardSuccessResponse ,
28+ GetTaskPushNotificationConfigParams ,
29+ GetTaskPushNotificationConfigRequest ,
3030 GetTaskPushNotificationConfigResponse ,
3131 GetTaskPushNotificationConfigSuccessResponse ,
3232 GetTaskRequest ,
You can’t perform that action at this time.
0 commit comments