Skip to content

Commit 205c378

Browse files
committed
Move script into tools
1 parent c0e1867 commit 205c378

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ check_isort:
5151

5252
## Check that lib modules can be imported with pure Python (no Django setup)
5353
check_pure_python_imports:
54-
$(PYTHON) check_pure_python_imports.py
54+
$(PYTHON) tools/check_pure_python_imports.py
5555

5656
## Starts a postgres container in the background if one is not running
5757
# Options:

check_pure_python_imports.py renamed to tools/check_pure_python_imports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_pure_python_import(module_name, base_path):
7171

7272
def main():
7373
"""Main function to test all modules in ansible_base/lib."""
74-
script_dir = Path(__file__).parent
74+
script_dir = Path(__file__).parent.parent # Go up one level since we're in tools/
7575
lib_path = script_dir / "ansible_base" / "lib"
7676

7777
if not lib_path.exists():

0 commit comments

Comments
 (0)