pre-commit: add isort hook and apply (#354)
This commit is contained in:
committed by
GitHub
parent
18a518efa7
commit
70310c9e8c
@@ -5,7 +5,13 @@ import os
|
||||
import sys
|
||||
from collections import namedtuple
|
||||
from types import ModuleType
|
||||
from typing import Any, Dict, List, Set, Tuple
|
||||
from typing import (
|
||||
Any,
|
||||
Dict,
|
||||
List,
|
||||
Set,
|
||||
Tuple,
|
||||
)
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -19,6 +25,7 @@ from tests.util import (
|
||||
inputs_path,
|
||||
)
|
||||
|
||||
|
||||
# Force pure-python implementation instead of C++, otherwise imports
|
||||
# break things because we can't properly reset the symbol database.
|
||||
os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"
|
||||
|
Reference in New Issue
Block a user