We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb03294 + e8bf28e commit 2c4ef95Copy full SHA for 2c4ef95
.devcontainer/Dockerfile
@@ -0,0 +1,15 @@
1
+FROM python:3.13-slim
2
+
3
+# Install UV
4
+COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
5
6
+# Install git
7
+RUN apt-get update \
8
+ && apt-get install -y --no-install-recommends git \
9
+ && rm -rf /var/lib/apt/lists/*
10
11
+# Install Python dependencies
12
+WORKDIR /workspaces/python-wiremock
13
+COPY pyproject.toml uv.lock ./
14
+ENV UV_PROJECT_ENVIRONMENT=/usr/local
15
+RUN uv sync --frozen
.devcontainer/devcontainer.json
@@ -0,0 +1,16 @@
+{
+ "name": "Python Wiremock",
+ "build": {
+ "dockerfile": "Dockerfile",
+ "context": ".."
+ },
+ "overrideCommand": true,
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "ms-python.python",
+ "charliermarsh.ruff"
+ ]
+ }
16
+}
.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf
.vscode/settings.json
@@ -0,0 +1,6 @@
+ "[python]": {
+ "editor.defaultFormatter": "charliermarsh.ruff"
+ "editor.formatOnSave": true,
docs/CONTRIBUTING.md
@@ -26,14 +26,15 @@ General expectations:
26
27
## Development
28
29
-We use [UV](https://docs.astral.sh/uv/) for packaging and dependency management.
+We use **VSCode Dev Containers** for development.
30
31
-After forking and cloning the repository,
32
-run the following command to setup the project:
+If you'd like to contribute:
33
34
-`uv sync`
+1. Follow [this tutorial](https://code.visualstudio.com/docs/devcontainers/tutorial) to set up Dev Containers.
+2. Once set up, open the `python-wiremock` folder in VSCode.
35
+3. Use the **Dev Containers** extension to reopen the project inside the container.
36
-Then use your favorite IDE for development and testing.
37
+That's it - you'll have a ready-to-use development environment.
38
39
## Contributing examples
40
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments