xiekeyang / oci-discovery

Contain the OCI Ref-engine Discovery specification and related specifications as an extention to the image specification.
Other
2 stars 1 forks source link

ignore committing *.pyc files #12

Closed xiekeyang closed 7 years ago

xiekeyang commented 7 years ago

Signed-off-by: xiekeyang xiekeyang@huawei.com

wking commented 7 years ago

Did you accidentally run Python 2? In Python 3, all cached compiled Python should be under __pycache__. So I don't think we need a *.pyc in the package .gitignore, just like we don't need ignore lines for *~ and whatever temp file your personal editor might create. You can of course add those sorts of things to $GIT_DIR/info/exclude or $HOME/.config/git/ignore.