Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"chat.detectParticipant.enabled": true,
"files.eol": "\n",
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
".pytest_cache": true,
".coverage": true,
".ruff_cache": true,
".venv": true
"**/.git": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/__pycache__": true,
".pytest_cache": true,
".coverage": true,
".ruff_cache": true,
".venv": true
},
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
Expand Down Expand Up @@ -80,6 +80,7 @@
"GitHub.vscode-github-actions"
]
}
}
},
// "postStartCommand": "pip install -U pip"
"initializeCommand": "[ ! -f .env ] && touch .env || true"
}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ GitHub のリポジトリページの「Use this template」を押下して使
- VS Code の拡張機能「Remote - Containers」インストール
- https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
- 本リポジトリの clone
- `.env` ファイルを空ファイルでプロジェクト直下に作成
- ssh-agent の設定
- https://code.visualstudio.com/docs/devcontainers/containers#_using-a-credential-helper
- 以下をプロジェクト名に合わせて変更
Expand Down Expand Up @@ -63,7 +62,7 @@ GitHub のリポジトリページの「Use this template」を押下して使
- `uv run main.py`
- ユニットテスト
- `uv run python -m pytest`
- `uvx pytest` の設定もしているが、uv環境で実装されないため、上記コマンドで実行する
- `uvx pytest` の設定もしているが、uv 環境で実装されないため、上記コマンドで実行する
- lint
- `uvx ruff check`
- `uvx ruff check --fix`
Expand Down
Loading