remove flake8 and suggest pycqa/flake8
diff --git a/tests/autopep8_wrapper_test.py b/tests/autopep8_wrapper_test.py
deleted file mode 100644
index f8030b5..0000000
--- a/tests/autopep8_wrapper_test.py
+++ /dev/null
@@ -1,10 +0,0 @@
-import pytest
-
-from pre_commit_hooks.autopep8_wrapper import main
-
-
-def test_invariantly_fails():
- with pytest.raises(SystemExit) as excinfo:
- main()
- msg, = excinfo.value.args
- assert 'https://github.com/pre-commit/mirrors-autopep8' in msg
diff --git a/tests/removed_test.py b/tests/removed_test.py
new file mode 100644
index 0000000..83df164
--- /dev/null
+++ b/tests/removed_test.py
@@ -0,0 +1,16 @@
+import pytest
+
+from pre_commit_hooks.removed import main
+
+
+def test_always_fails():
+ with pytest.raises(SystemExit) as excinfo:
+ main((
+ 'autopep8-wrapper', 'autopep8',
+ 'https://github.com/pre-commit/mirrors-autopep8',
+ ))
+ msg, = excinfo.value.args
+ assert msg == (
+ '`autopep8-wrapper` has been removed -- '
+ 'use `autopep8` from https://github.com/pre-commit/mirrors-autopep8'
+ )