# Reclassify .sp file as Spice
*.sp  linguist-language=Spice
*.cir linguist-language=Spice

# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto

#
# Explicitly override text vs. binary for expected file formats
#

# C / C++
# =======
*.c     text diff=c
*.cc    text diff=cpp
*.cxx   text diff=cpp
*.cpp   text diff=cpp
*.c++   text diff=cpp
*.hpp   text diff=cpp
*.h     text diff=c
*.h++   text diff=cpp
*.hh    text diff=cpp

*.slo binary
*.lo binary
*.o binary
*.obj binary

*.gch binary
*.pch binary

*.so binary
*.dylib binary
*.dll binary

*.lai binary
*.la binary
*.a binary
*.lib binary

*.exe binary
*.out binary
*.app binary

# Python
# ======
*.pxd		text diff=python
*.py 		text diff=python
*.py3 		text diff=python
*.pyw 		text diff=python
*.pyx  		text diff=python

*.db		binary
*.p 		binary
*.pkl 		binary
*.pickle    binary
*.pyc 		binary
*.pyd		binary
*.pyo 		binary

# Shell Scripts
# =============
*.bat      text eol=crlf
*.cmd      text eol=crlf
*.sh       text eol=lf

# Configuration / Data
# =====================
*.dockerignore  text
Dockerfile      text
Dockerfile.*    text

*.json         text
*.xml          text
*.csv          text
*.tab          text
*.tsv          text
*.sql          text

*.sp           text
*.cir          text

*.bowerrc      text
*.cnf          text
*.conf         text
*.config       text
.editorconfig  text
.gitattributes text
.gitconfig     text
.htaccess      text
*.npmignore    text
*.yaml         text
*.yml          text
browserslist   text
Makefile       text
makefile       text

*.7z  binary
*.gz  binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

# Documentation
# =============
*.markdown   text
*.md         text
*.mdwn       text
*.mdown      text
*.mkd        text
*.mkdn       text
*.mdtxt      text
*.mdtext     text
*.txt        text
AUTHORS      text
CHANGELOG    text
CHANGES      text
CONTRIBUTING text
COPYING      text
copyright    text
*COPYRIGHT*  text
INSTALL      text
license      text
LICENSE      text
NEWS         text
readme       text
*README*     text
TODO         text

# Documents / Graphics
# ====================
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx   diff=astextplain
*.DOCX   diff=astextplain
*.dot    diff=astextplain
*.DOT    diff=astextplain
*.pdf    diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain

*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
*.svg binary
*.eps binary