mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
remove typing_extensions Annotated import
This commit is contained in:
@@ -6,10 +6,9 @@
|
||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and limitations under the License.
|
||||
import binascii
|
||||
from typing import Any, Union, Literal, Optional, TypeAlias
|
||||
from typing import Any, Union, Literal, Optional, Annotated, TypeAlias
|
||||
|
||||
from pydantic import Field, BaseModel, ConfigDict
|
||||
from typing_extensions import Annotated
|
||||
from pydantic.functional_validators import BeforeValidator
|
||||
|
||||
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and limitations under the License.
|
||||
|
||||
from typing import Union, Optional
|
||||
from typing import Union, Optional, Annotated
|
||||
|
||||
import xmltodict
|
||||
from pydantic import Field, BaseModel
|
||||
from typing_extensions import Annotated
|
||||
from pydantic.functional_validators import BeforeValidator
|
||||
|
||||
"""
|
||||
|
||||
@@ -233,7 +233,7 @@ DEP002 = [
|
||||
|
||||
# dependencies imported but missing from definitions
|
||||
DEP003 = [
|
||||
"typing_extensions" # TODO(s-ff): remove when Python 3.9 is deprecated, see #1699
|
||||
"typing_extensions" # TODO(s-ff): remove when Python 3.10 is deprecated, see #1699
|
||||
]
|
||||
|
||||
[tool.deptry.package_module_name_map]
|
||||
|
||||
Reference in New Issue
Block a user