aboutsummaryrefslogtreecommitdiffstats
path: root/python/werkzeug/contrib/lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/werkzeug/contrib/lint.py')
-rw-r--r--python/werkzeug/contrib/lint.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/werkzeug/contrib/lint.py b/python/werkzeug/contrib/lint.py
new file mode 100644
index 0000000..8bd8b8a
--- /dev/null
+++ b/python/werkzeug/contrib/lint.py
@@ -0,0 +1,11 @@
+import warnings
+
+from ..middleware.lint import * # noqa: F401, F403
+
+warnings.warn(
+ "'werkzeug.contrib.lint' has moved to 'werkzeug.middleware.lint'."
+ " This import is deprecated as of version 0.15 and will be removed"
+ " in version 1.0.",
+ DeprecationWarning,
+ stacklevel=2,
+)