#################################################################################################### # Python .gitattributes template # https://github.com/alexkaratarakis/gitattributes/blob/master/Python.gitattributes #################################################################################################### # Source files # ============ *.pxd text diff=python *.py text diff=python *.py3 text diff=python *.pyw text diff=python *.pyx text diff=python *.pyz text diff=python *.pyi text diff=python # Binary files # ============ *.db binary *.p binary *.pkl binary *.pickle binary *.pyc binary export-ignore *.pyo binary export-ignore *.pyd binary # Jupyter notebook *.ipynb text # Note: .db, .p, and .pkl files are associated # with the python modules ``pickle``, ``dbm.*``, # ``shelve``, ``marshal``, ``anydbm``, & ``bsddb`` # (among others). #################################################################################################### # C++ .gitattributes template # https://github.com/alexkaratarakis/gitattributes/blob/master/C%2B%2B.gitattributes #################################################################################################### # Sources *.c text diff=cpp *.cc text diff=cpp *.cxx text diff=cpp *.cpp text diff=cpp *.cpi text diff=cpp *.c++ text diff=cpp *.hpp text diff=cpp *.h text diff=cpp *.h++ text diff=cpp *.hh text diff=cpp # Compiled Object files *.slo binary *.lo binary *.o binary *.obj binary # Precompiled Headers *.gch binary *.pch binary # Compiled Dynamic libraries *.so binary *.dylib binary *.dll binary # Compiled Static libraries *.lai binary *.la binary *.a binary *.lib binary # Executables *.exe binary *.out binary *.app binary