├── .devcontainer ├── devcontainer.json ├── postCreateCommand.sh ├── postStartBackground.sh └── postStartCommand.sh ├── .github ├── actions │ └── test │ │ └── action.yml └── workflows │ ├── pr.yml │ ├── publish.yml │ └── time_tracking.yml ├── .gitignore ├── .ptyme_track └── JamesHutchison ├── .vscode ├── extensions.json ├── launch.json ├── settings.json └── tasks.json ├── FEATURES.md ├── GUIDANCE.md ├── LICENSE ├── Makefile ├── README.md ├── docs └── img │ ├── megamock-example.gif │ ├── megamock-v2-cropped.png │ ├── top-of-stack.png │ └── type-hinting.png ├── gpt ├── instructions.gpt.txt ├── reference.txt ├── settings.txt └── step_instructions.txt ├── megamock ├── __init__.py ├── import_machinery.py ├── import_references.py ├── import_types.py ├── megamocks.py ├── megapatches.py ├── megas.py ├── name_words.py ├── plugins │ ├── __init__.py │ └── pytest.py ├── py.typed └── type_util.py ├── poetry.lock ├── pyproject.toml ├── setup.cfg └── tests ├── __init__.py ├── manual └── megamock_type_hints.py ├── perf ├── .gitignore ├── generate_files_to_import.py └── test_importer.py └── unit ├── __init__.py ├── conftest.py ├── simple_app ├── __init__.py ├── async_portion.py ├── bar.py ├── does_rename.py ├── foo.py ├── for_autouse_1.py ├── for_autouse_2.py ├── generics.py ├── helpful_manager.py ├── locks.py ├── nested_classes.py ├── pydantic_objects.py └── uses_nested_classes.py ├── test_import_machinery.py ├── test_import_references.py ├── test_megamocks.py ├── test_megapatches.py ├── test_megas.py └── test_plugins.py /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/postCreateCommand.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.devcontainer/postCreateCommand.sh -------------------------------------------------------------------------------- /.devcontainer/postStartBackground.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.devcontainer/postStartBackground.sh -------------------------------------------------------------------------------- /.devcontainer/postStartCommand.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.devcontainer/postStartCommand.sh -------------------------------------------------------------------------------- /.github/actions/test/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.github/actions/test/action.yml -------------------------------------------------------------------------------- /.github/workflows/pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.github/workflows/pr.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/time_tracking.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.github/workflows/time_tracking.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.gitignore -------------------------------------------------------------------------------- /.ptyme_track/JamesHutchison: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.ptyme_track/JamesHutchison -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /FEATURES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/FEATURES.md -------------------------------------------------------------------------------- /GUIDANCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/GUIDANCE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/README.md -------------------------------------------------------------------------------- /docs/img/megamock-example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/docs/img/megamock-example.gif -------------------------------------------------------------------------------- /docs/img/megamock-v2-cropped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/docs/img/megamock-v2-cropped.png -------------------------------------------------------------------------------- /docs/img/top-of-stack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/docs/img/top-of-stack.png -------------------------------------------------------------------------------- /docs/img/type-hinting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/docs/img/type-hinting.png -------------------------------------------------------------------------------- /gpt/instructions.gpt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/gpt/instructions.gpt.txt -------------------------------------------------------------------------------- /gpt/reference.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/gpt/reference.txt -------------------------------------------------------------------------------- /gpt/settings.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/gpt/settings.txt -------------------------------------------------------------------------------- /gpt/step_instructions.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/gpt/step_instructions.txt -------------------------------------------------------------------------------- /megamock/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/__init__.py -------------------------------------------------------------------------------- /megamock/import_machinery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/import_machinery.py -------------------------------------------------------------------------------- /megamock/import_references.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/import_references.py -------------------------------------------------------------------------------- /megamock/import_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/import_types.py -------------------------------------------------------------------------------- /megamock/megamocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/megamocks.py -------------------------------------------------------------------------------- /megamock/megapatches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/megapatches.py -------------------------------------------------------------------------------- /megamock/megas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/megas.py -------------------------------------------------------------------------------- /megamock/name_words.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/name_words.py -------------------------------------------------------------------------------- /megamock/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /megamock/plugins/pytest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/plugins/pytest.py -------------------------------------------------------------------------------- /megamock/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /megamock/type_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/megamock/type_util.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/setup.cfg -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/manual/megamock_type_hints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/manual/megamock_type_hints.py -------------------------------------------------------------------------------- /tests/perf/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/perf/.gitignore -------------------------------------------------------------------------------- /tests/perf/generate_files_to_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/perf/generate_files_to_import.py -------------------------------------------------------------------------------- /tests/perf/test_importer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/perf/test_importer.py -------------------------------------------------------------------------------- /tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/conftest.py -------------------------------------------------------------------------------- /tests/unit/simple_app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/unit/simple_app/async_portion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/async_portion.py -------------------------------------------------------------------------------- /tests/unit/simple_app/bar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/bar.py -------------------------------------------------------------------------------- /tests/unit/simple_app/does_rename.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/does_rename.py -------------------------------------------------------------------------------- /tests/unit/simple_app/foo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/foo.py -------------------------------------------------------------------------------- /tests/unit/simple_app/for_autouse_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/for_autouse_1.py -------------------------------------------------------------------------------- /tests/unit/simple_app/for_autouse_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/for_autouse_2.py -------------------------------------------------------------------------------- /tests/unit/simple_app/generics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/generics.py -------------------------------------------------------------------------------- /tests/unit/simple_app/helpful_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/helpful_manager.py -------------------------------------------------------------------------------- /tests/unit/simple_app/locks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/locks.py -------------------------------------------------------------------------------- /tests/unit/simple_app/nested_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/nested_classes.py -------------------------------------------------------------------------------- /tests/unit/simple_app/pydantic_objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/pydantic_objects.py -------------------------------------------------------------------------------- /tests/unit/simple_app/uses_nested_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/simple_app/uses_nested_classes.py -------------------------------------------------------------------------------- /tests/unit/test_import_machinery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_import_machinery.py -------------------------------------------------------------------------------- /tests/unit/test_import_references.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_import_references.py -------------------------------------------------------------------------------- /tests/unit/test_megamocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_megamocks.py -------------------------------------------------------------------------------- /tests/unit/test_megapatches.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_megapatches.py -------------------------------------------------------------------------------- /tests/unit/test_megas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_megas.py -------------------------------------------------------------------------------- /tests/unit/test_plugins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JamesHutchison/megamock/HEAD/tests/unit/test_plugins.py --------------------------------------------------------------------------------