Default filters
These rules run before anything else, on every conversion. Your project's .gitignore is applied next, and a .repo2nbignore can override any of it — use !pattern to force-include something listed here. Every rule below comes from the same source of truth the tool itself uses.
Datasets
- *.csvdataset file
Dependency folders
- node_modules/dependency folder
- site-packages/dependency folder
- vendor/dependency folder
Other
- .venv/virtualenv folder
- venv/virtualenv folder
Caches and build artifacts
- *.egg-info/package build metadata
- __pycache__/cache
- .pytest_cache/cache
- .mypy_cache/cache
- .ruff_cache/cache
- .hypothesis/cache
- .parcel-cache/cache
- .next/build output
- dist/build output
- build/build output
- .turbo/build output
Model checkpoints
- checkpoints/model checkpoint directory
Tooling internals
- .git/version control internals
- .github/not needed at runtime
- .vscode/editor config
- .idea/editor config
Environment and secrets
- .env*environment / secrets
Precedence
- repo2nb defaults (this page)
- your project's .gitignore
- your project's .repo2nbignore
- checkbox toggles in the tree preview
each layer overrides the one above it