Files
biopython/.gitattributes
Markus Piotrowski 712e1c6b23 Update pre-commit settings for doc8 (Windows line endings) (#3251)
* Tweak pre-commit-config for recent doc8 changes

* Change .gitattributes to change line endings to Unix style for text files
2020-09-03 12:08:54 +02:00

32 lines
1.0 KiB
Plaintext

# On Windows, git can be setup to convert text files to use
# DOS/Windows newlines (\r\n) rather than Unix style (\n).
# This should be harmless for most of our unit tests...
# Still, it's better when we try to assure unform Unix style
# when committing:
* text=auto
# However, where testing indexing and get_raw (including the
# BGZF tests comparing the uncompressed file to the compressed
# file) it can be important to preserve the line endings in git.
Tests/Fasta/f002 binary
Tests/GenBank/cor6_6.gb binary
Tests/GenBank/NC_000932.gb binary
Tests/Quality/example.fastq binary
Tests/Quality/example_dos.fastq binary
Tests/Blast/wnts.xml binary
# This pickle file has to be using Unix new lines otherwise at
# least Python 3.4's C pickle parser fails with exception:
# _pickle.UnpicklingError: the STRING opcode argument must be quoted
Tests/SubsMat/acc_rep_mat.pik binary
# MMTF is a binary file format,
Tests/PDB/4CUP.mmtf binary
# UCSC Nib files are binary:
Tests/Nib/test_bigendian.nib binary
Tests/Nib/test_littleendian.nib binary