pre-commit: add isort hook and apply (#354)

This commit is contained in:
Arun Babu Neelicattu
2022-03-17 01:01:17 +01:00
committed by GitHub
parent 18a518efa7
commit 70310c9e8c
37 changed files with 216 additions and 58 deletions

View File

@@ -1,11 +1,18 @@
import os
import re
from typing import Dict, List, Set, Tuple, Type
from typing import (
Dict,
List,
Set,
Tuple,
Type,
)
from ..casing import safe_snake_case
from ..lib.google import protobuf as google_protobuf
from .naming import pythonize_class_name
WRAPPER_TYPES: Dict[str, Type] = {
".google.protobuf.DoubleValue": google_protobuf.DoubleValue,
".google.protobuf.FloatValue": google_protobuf.FloatValue,