Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4dbafed

Browse files
author
David Robertson
committed
Fix lint
1 parent fefb0a8 commit 4dbafed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

synapse/rest/client/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
from typing import TYPE_CHECKING, Dict, Optional, Type
14+
from typing import TYPE_CHECKING, Dict, Optional
1515

1616
from pydantic import Extra, StrictInt, StrictStr, constr, validator
1717

synapse/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -934,6 +934,7 @@ class SynapseBaseModel(BaseModel):
934934
Subclassing in this way is recommended by
935935
https://pydantic-docs.helpmanual.io/usage/model_config/#change-behaviour-globally
936936
"""
937+
937938
class Config:
938939
# By default, ignore fields that we don't recognise.
939940
extra = Extra.ignore

0 commit comments

Comments
 (0)