pyupgrade: Reformat with --py36-plus.
This includes mainly fixes of string literals using f-strings or .format(...), as well as unpacking of list comprehensions.
This commit is contained in:
parent
e27ac0ddbe
commit
9ce7c52a10
78 changed files with 356 additions and 389 deletions
|
@ -1,9 +1,7 @@
|
|||
import configparser
|
||||
import json
|
||||
from typing import Any, Dict, List, Optional
|
||||
from unittest import TestCase
|
||||
|
||||
import mock
|
||||
from unittest import TestCase, mock
|
||||
|
||||
from zulip_botserver import server
|
||||
|
||||
|
|
|
@ -6,8 +6,7 @@ from importlib import import_module
|
|||
from pathlib import Path
|
||||
from types import ModuleType
|
||||
from typing import Any, Dict
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from zulip_bots.lib import BotHandler
|
||||
from zulip_botserver import server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue