.gitignore for TurboGears
10 ignore rules for TurboGears, ready to copy into your repository.
Python web framework
The complete .gitignore for TurboGears
# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:34:06 UTC
# Technologies: TurboGears
### TurboGears ###
*.py[co]
devdata.db
data/*
# Python egg package
*.egg
*.egg-info
dist
build
.tox
# pip installation log
pip-log.txt
# Coverage data file
.coverage
What these TurboGears rules actually ignore
Every pattern below, and why it belongs in your .gitignore.
General
| Pattern | What it ignores |
|---|---|
*.py[co] |
General |
Default development database
| Pattern | What it ignores |
|---|---|
devdata.db |
Default development database |
Default data directory
| Pattern | What it ignores |
|---|---|
data/* |
Default data directory |
Packages
| Pattern | What it ignores |
|---|---|
*.egg |
Python egg package |
*.egg-info |
Packages |
dist |
Packages |
build |
Packages |
Unit test / coverage reports
| Pattern | What it ignores |
|---|---|
.tox |
Unit test / coverage reports |
.coverage |
Coverage data file |
Installer logs
| Pattern | What it ignores |
|---|---|
pip-log.txt |
pip installation log |
How to use this .gitignore for TurboGears
- Copy the TurboGears rules above, or download the file directly.
- Create a file named .gitignore at the root of your Git repository and paste the rules into it.
- If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
- Commit the .gitignore so everyone on the team shares the same rules.