.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

  1. Copy the TurboGears rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other Framework .gitignore templates

See every Framework template