Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

autoreload: Move mypy ignore_errors to inline configuration.

Anders Kaseorg1c47b69f78a1
diff --git a/mypy.ini b/mypy.ini
index 7f33dbb660f..b8c09d10c04 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -30,17 +30,6 @@ ignore_missing_imports = True
# Warn of unreachable or redundant code.
warn_unreachable = True
-#
-#
-# IGNORE ERRORS
-#
-#
-
-# zerver.tornado.autoreload is a slightly-patched piece of upstream Tornado.
-[mypy-zerver.tornado.autoreload]
-ignore_errors = True
-
-
#
#
# STRICT OPTIONAL
diff --git a/zerver/tornado/autoreload.py b/zerver/tornado/autoreload.py
index 4aaec8f3876..d79c75ba70d 100644
--- a/zerver/tornado/autoreload.py
+++ b/zerver/tornado/autoreload.py
@@ -1,3 +1,5 @@
+# mypy: ignore_errors
+
# Copyright 2009 Facebook
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may