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
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: v1.0.4
_commit: v1.1.0
_src_path: gh:mjun0812/python-copier-template
author_email: mjun@mjunya.com
author_name: Junya Morioka
Expand Down
18 changes: 13 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@
"DISPLAY": "${localEnv:DISPLAY}",
"PYTHONUNBUFFERED": "1",
"PYTHONDONTWRITEBYTECODE": "1",
"UV_CACHE_DIR": "${containerWorkspaceFolder}/.cache/uv",
"UV_CACHE_DIR": "/home/vscode/.cache/uv",
"UV_LINK_MODE": "copy",
"UV_PROJECT_ENVIRONMENT": "/home/vscode/.venv",
"UV_COMPILE_BYTECODE": "1"
"UV_COMPILE_BYTECODE": "1",
"CLAUDE_CONFIG_DIR": "/home/vscode/.claude"
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
},
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "curl,wget,git,jq,ca-certificates,build-essential,ripgrep"
"packages": "curl,wget,git,jq,ca-certificates,build-essential,ripgrep,fd-find"
},
"ghcr.io/va-h/devcontainers-features/uv:1": {
"shellAutocompletion": true
Expand Down Expand Up @@ -46,9 +47,16 @@
]
}
},
"remoteUser": "vscode",
"containerUser": "vscode",
"initializeCommand": "mkdir -p ${localEnv:HOME}/.claude ${localEnv:HOME}/.codex && touch ${localEnv:HOME}/.claude/CLAUDE.md ${localEnv:HOME}/.codex/config.toml",
"mounts": [
"source=claude-code-config,target=/home/vscode/.claude,type=volume"
"source=shell_history-${devcontainerId},target=/shell_history,type=volume",
"source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind",
"source=${localEnv:HOME}/.claude/CLAUDE.md,target=/home/vscode/.claude/CLAUDE.md,type=bind",
"source=${localEnv:HOME}/.codex,target=/home/vscode/.codex,type=bind",
"source=${localEnv:HOME}/.codex/config.toml,target=/home/vscode/.codex/config.toml,type=bind"
],
"postCreateCommand": "uv sync",
"postCreateCommand": "npm install -g @openai/codex@latest && uv sync",
"postStartCommand": "uv run pre-commit install"
}
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
# uv version.
rev: 0.7.11
rev: 0.8.22
hooks:
- id: uv-lock
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.12
rev: v0.13.2
hooks:
# Run the linter.
- id: ruff-check
Expand Down
5 changes: 0 additions & 5 deletions .cursor/rules/coding_style.mdc → AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
description:
globs:
alwaysApply: true
---
# Development Guidelines

This document contains critical information about working with this codebase.
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ ignore = [
"SIM105", # try-except-pass blocks that can be replaced with the contextlib.suppress context manager.
"SIM108", # Use ternary operator instead of `if`-`else`-block
"SIM116", # Use a dictionary instead of consecutive `if` statements
"UP038", # (Deprecated) Use `X | Y` in `isinstance` call instead of `(X, Y)`
]
unfixable = [
"F401", # unused import
Expand Down