]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
lint: Update mypy
authorBen Darnell <ben@bendarnell.com>
Thu, 27 Jul 2023 01:55:12 +0000 (21:55 -0400)
committerBen Darnell <ben@bendarnell.com>
Thu, 27 Jul 2023 01:55:12 +0000 (21:55 -0400)
requirements.txt
tornado/autoreload.py

index 43a9de7ba0c6cec98aefe46b21114a7e8846c848..7543b10f99206b0172259a5a3f64234484fd03dd 100644 (file)
@@ -48,7 +48,7 @@ markupsafe==2.1.2
     # via jinja2
 mccabe==0.7.0
     # via flake8
-mypy==0.991
+mypy==1.0.1
     # via -r requirements.in
 mypy-extensions==0.4.3
     # via
index a4522ecbc6ab71a9779f58b249b58bd2cf44f8c5..c6a6e82da06af249896bcf9961c708b287d20941 100644 (file)
@@ -338,9 +338,7 @@ def main() -> None:
         # no longer in sys.modules.  Figure out where it is and watch it.
         loader = pkgutil.get_loader(opts.module)
         if loader is not None and isinstance(loader, importlib.abc.FileLoader):
-            # TODO: fix when we update typeshed
-            watch(loader.get_filename())  # type: ignore
-
+            watch(loader.get_filename())
     if opts.until_success and not exit_status:
         return
     wait()