Skip to content

Commit dc6363c

Browse files
chore: update mypy to 0.942 (#323)
1 parent 73d3122 commit dc6363c

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

google/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@
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-
15-
from typing import List
16-
1714
try:
1815
import pkg_resources
1916

2017
pkg_resources.declare_namespace(__name__)
2118
except ImportError:
2219
import pkgutil
2320

24-
__path__: List[str] = pkgutil.extend_path(__path__, __name__)
21+
__path__ = pkgutil.extend_path(__path__, __name__)

google/cloud/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
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 List
15-
1614
try:
1715
import pkg_resources
1816

1917
pkg_resources.declare_namespace(__name__)
2018
except ImportError:
2119
import pkgutil
2220

23-
__path__: List[str] = pkgutil.extend_path(__path__, __name__)
21+
__path__ = pkgutil.extend_path(__path__, __name__)

google/cloud/sql/connector/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
"""
16-
17-
from typing import List
18-
1916
from .connector import connect, Connector
2017
from .instance import IPTypes
2118

@@ -29,4 +26,4 @@
2926
except ImportError:
3027
import pkgutil
3128

32-
__path__: List[str] = pkgutil.extend_path(__path__, __name__)
29+
__path__ = pkgutil.extend_path(__path__, __name__)

requirements-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sqlalchemy-pytds==0.3.4
77
flake8==4.0.1
88
flake8-annotations==2.7.0
99
black==22.3.0
10-
mypy==0.910
10+
mypy==0.942
1111
sqlalchemy-stubs==0.4
1212
types-pkg-resources==0.1.3
1313
types-PyMySQL==1.0.15

0 commit comments

Comments
 (0)