Skip to content

chore: relax scaffold .vscode policy and bump to 0.7.1#97

Merged
qjrm1430 merged 1 commit into
mainfrom
chore/scaffold-cleanup-and-bump-0.7.1
May 27, 2026
Merged

chore: relax scaffold .vscode policy and bump to 0.7.1#97
qjrm1430 merged 1 commit into
mainfrom
chore/scaffold-cleanup-and-bump-0.7.1

Conversation

@qjrm1430
Copy link
Copy Markdown
Member

🚀 PR Type

  • 🎯 Ready for Review

📝 Summary

PR #95 후속 정리 + patch 버전 bump.

📄 Description

1. .gitignore.vscode/ 전체 추적으로 정책 완화

PR #95에서 도입한 패턴:

.vscode/*
!.vscode/extensions.json
!.vscode/settings.json

삭제. .vscode/ 디렉토리 전체를 추적 대상으로 변경 (launch.json, tasks.json 등 팀 공유 가능). 개인 환경 preference는 .git/info/exclude 로컬 ignore로 처리.

2. .vscode/settings.json — pyright 중복 제거

-  "python.analysis.typeCheckingMode": "basic",
-  "python.analysis.extraPaths": ["."],

두 항목은 이미 pyproject.toml[tool.pyright]가 관할 — workspace settings에서 중복 명시 시 drift 가능. single source of truth로 통일.

3. 버전 bump

act_operator/__init__.py: 0.7.00.7.1 (patch).

pyproject.toml[tool.hatch.version]로 이 파일을 source-of-truth로 참조하므로 빌드 시 자동 반영.

✅ Quality Checks

  • 코드 로직 변경 없음 (설정 파일 + 버전 문자열)
  • ruff/pytest 영향 없음

🤖 Generated with Claude Code

Three small follow-ups on top of the VSCode recommendations work:

- .gitignore: drop the `.vscode/*` + negation block. The team has
  decided to track the whole `.vscode/` directory (launch.json,
  tasks.json, etc.) instead of pinning just extensions.json /
  settings.json. Personal preference files can still be locally
  ignored via `.git/info/exclude` if needed.

- .vscode/settings.json: drop `python.analysis.typeCheckingMode` and
  `python.analysis.extraPaths`. Both are already governed by
  `[tool.pyright]` in pyproject.toml; duplicating them in the
  workspace settings invited drift.

- Bump act-operator 0.7.0 → 0.7.1.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@qjrm1430 qjrm1430 merged commit 8994c53 into main May 27, 2026
3 checks passed
@qjrm1430 qjrm1430 deleted the chore/scaffold-cleanup-and-bump-0.7.1 branch May 27, 2026 04:18
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the version to 0.7.1 and modifies the VS Code configuration and .gitignore in the scaffold directory. The reviewer recommends retaining the .vscode/ ignore rules in .gitignore while whitelisting specific shared files to prevent developers from accidentally committing local VS Code settings.

I am having trouble creating individual review comments. Click here to see my feedback.

act_operator/act_operator/scaffold/{{ cookiecutter.act_slug }}/.gitignore (123-125)

medium

.vscode/ 디렉토리 전체를 Git 추적 대상으로 설정하면, 개발자 개인의 로컬 설정(예: launch.json 내의 개인화된 경로, tasks.json 내의 로컬 명령어, 혹은 다른 VS Code 확장 프로그램이 생성하는 임시 파일 등)이 실수로 커밋될 위험이 큽니다.

모든 개발자가 .git/info/exclude를 수동으로 설정하도록 유도하는 것은 실수하기 쉽고 개발자 경험(DX) 측면에서도 번거로울 수 있습니다.

대신, 팀원들과 공유가 필요한 특정 설정 파일만 명시적으로 허용(whitelist)하는 방식을 권장합니다. 예를 들어 launch.json이나 tasks.json도 공유하고 싶다면 아래와 같이 해당 파일들만 예외로 추가하는 것이 안전합니다.

.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/launch.json
!.vscode/tasks.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant