diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..ceafa767 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,11 @@ +{ + "image": "python:3.10-bookworm", + "postCreateCommand": "pip install uv && uv pip install --system -e . -r ./test_requirements.txt && pre-commit install", + "customizations": { + "vscode": { + "extensions": [ + "ms-python.python" + ] + } + } +} diff --git a/test_requirements.txt b/test_requirements.txt index 86b02896..473c0e26 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,6 +1,4 @@ -mock; python_version < '3.3' -moto>=4 -flask -flask_cors +moto[server]>=4,<5 pytest>=4.2.0 pytest-env +pre-commit