summaryrefslogtreecommitdiff
blob: 4288bb897c1ecca56198f9f7b92fb5110fe3dc1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Let the package managers handle dependencies, m'kay?

--- a/conftest.py
+++ b/conftest.py
@@ -3,18 +3,6 @@
 import os
 import sys
 
-# checking if user is running pytest without installing test dependencies:
-missing = []
-for module in ["ansible", "black", "flake8", "flaky", "mypy", "pylint", "pytest_cov"]:
-    if not importlib.util.find_spec(module):
-        missing.append(module)
-if missing:
-    print(
-        f"FATAL: Missing modules: {', '.join(missing)} -- probably you missed installing test requirements with: pip install -e '.[test]'",
-        file=sys.stderr,
-    )
-    sys.exit(1)
-
 
 os.environ["NO_COLOR"] = "1"
 pytest_plugins = ["ansiblelint.testing.fixtures"]