Skip to content

Commit

Permalink
chore: rm unused type ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 21, 2023
1 parent cc3de01 commit 01a1d4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import find_packages, setup # type: ignore
from setuptools import find_packages, setup

extras_require = {
"test": [ # `test` GitHub Action jobs uses this
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_schema_fuzzing.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
import requests # type: ignore[import]
import requests
from hypothesis import HealthCheck, given, settings
from hypothesis_jsonschema import from_schema
from pydantic import ValidationError
Expand Down
2 changes: 1 addition & 1 deletion tokenlists/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def extensions_must_contain_allowed_types(
@property
def bridge_info(self) -> Optional[BridgeInfo]:
if self.extensions and "bridgeInfo" in self.extensions:
return self.extensions["bridgeInfo"] # type: ignore
return self.extensions["bridgeInfo"]

return None

Expand Down

0 comments on commit 01a1d4c

Please sign in to comment.