Skip to content

Commit

Permalink
Globally ignore compiled Python files.
Browse files Browse the repository at this point in the history
The first time a `.py` file is run, or any time it's been modified, Python
creates a `.pyc` file containing a bytecode representation.

These bytecode files should always be ignored by Git, since keeping them
updated in a repo would be time consuming and would serve no purpose.
  • Loading branch information
georgebrock committed Jan 11, 2016
1 parent fe31b39 commit 2ebe894
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ tags
!tags/
tmp/**/*
!tmp/cache/.keep
*.pyc

0 comments on commit 2ebe894

Please sign in to comment.