Skip to content

Add .gitignore for Python, Node.js UI, and common IDE artifacts - #7

Merged
ShuxiangCao merged 1 commit into
NVIDIA:mainfrom
M1racleShih:chore-add-gitignore
Apr 15, 2026
Merged

ShuxiangCao merged 1 commit into
NVIDIA:mainfrom
M1racleShih:chore-add-gitignore

Conversation

@M1racleShih

Copy link
Copy Markdown
Contributor

Summary

Add a repository-level .gitignore to exclude common local development, IDE, test, and build artifacts.

Changes

This PR adds ignore rules for:

  • Python bytecode, virtual environments, eggs, and cache files
  • Environment variable files such as .env, .env.local, and .env.*.local
  • IDE and OS artifacts like .vscode/, .idea/, .DS_Store, and Thumbs.db
  • Test and coverage outputs including .pytest_cache/, .coverage, and htmlcov/
  • Type-checker and notebook cache files such as mypy, pytype, ruff, and Jupyter checkpoints
  • Next.js and UI dependencies/build outputs such as ui/node_modules/ and ui/.next/
  • UI test outputs and Playwright reports
  • Fern local config and generated local dependencies
  • Sphinx/docs build output under docs/_build/

Why

These files are machine-local, generated, or environment-specific and should not be committed to the repository. Adding them to .gitignore keeps the repo cleaner and reduces accidental noise in future commits.

Scope

  • No application logic changes
  • No runtime behavior changes
  • Repository hygiene only

Testing

  • Verified that only ignore rules were added
  • No code paths were changed

- Ignore Python bytecode, eggs, and virtual environments
- Ignore environment variable files (.env, .env.local, .env.*.local)
- Ignore IDE and OS files (.vscode/, .idea/, .DS_Store, Thumbs.db)
- Ignore testing and coverage artifacts (.pytest_cache/, .coverage, htmlcov/)
- Ignore Jupyter checkpoints and type checker caches (mypy, pytype, ruff)
- Ignore Next.js UI build artifacts and node_modules (ui/node_modules/, ui/.next/)
- Ignore UI test results and Playwright reports
- Ignore Fern local config and node_modules
- Ignore docs build output (docs/_build/)

Co-Authored-By: shq <hanqshih@gmail.com>
Signed-off-by: Shq <shq@originqc.com>
@ShuxiangCao
ShuxiangCao merged commit cdc3dbf into NVIDIA:main Apr 15, 2026
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.

2 participants