Home | History | Annotate | Download | only in cpython3
      1 # Binary data types
      2 *.aif binary
      3 *.aifc binary
      4 *.aiff binary
      5 *.au binary
      6 *.bmp binary
      7 *.exe binary
      8 *.icns binary
      9 *.gif binary
     10 *.ico binary
     11 *.jpg binary
     12 *.pck binary
     13 *.png binary
     14 *.psd binary
     15 *.tar binary
     16 *.wav binary
     17 *.whl binary
     18 *.zip binary
     19 
     20 # Specific binary files
     21 Lib/test/sndhdrdata/sndhdr.* binary
     22 PC/classicAppCompat.* binary
     23 
     24 # Text files that should not be subject to eol conversion
     25 Lib/test/cjkencodings/* -text
     26 Lib/test/decimaltestdata/*.decTest -text
     27 Lib/test/test_email/data/*.txt -text
     28 Lib/test/xmltestdata/* -text
     29 Lib/test/coding20731.py -text
     30 Lib/test/test_importlib/data01/* -text
     31 
     32 # CRLF files
     33 *.bat text eol=crlf
     34 *.ps1 text eol=crlf
     35 *.sln text eol=crlf
     36 *.vcxproj* text eol=crlf
     37 *.props text eol=crlf
     38 *.proj text eol=crlf
     39 PCbuild/readme.txt text eol=crlf
     40 PC/readme.txt text eol=crlf
     41 
     42 # Generated files
     43 # https://github.com/github/linguist#generated-code
     44 Include/graminit.h          linguist-generated=true
     45 Python/graminit.h           linguist-generated=true
     46 Modules/clinic/*.h          linguist-generated=true
     47 Objects/clinic/*.h          linguist-generated=true
     48 PC/clinic/*.h               linguist-generated=true
     49 Python/clinic/*.h           linguist-generated=true
     50 Python/importlib.h          linguist-generated=true
     51 Python/importlib_external.h linguist-generated=true
     52 Include/Python-ast.h        linguist-generated=true
     53 Python/Python-ast.c         linguist-generated=true
     54 Include/opcode.h            linguist-generated=true
     55 Python/opcode_targets.h     linguist-generated=true
     56 Objects/typeslots.inc       linguist-generated=true
     57 Modules/unicodedata_db.h    linguist-generated=true
     58