mirror of
https://github.com/biopython/biopython.git
synced 2025-10-20 05:33:47 +08:00
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
This commit is contained in:
committed by
GitHub
parent
046fe96b91
commit
712e1c6b23
6
.gitattributes
vendored
6
.gitattributes
vendored
@ -1,7 +1,11 @@
|
||||
# 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.
|
||||
|
@ -41,11 +41,11 @@ repos:
|
||||
- id: rstcheck
|
||||
args: [--report=warning]
|
||||
- repo: https://github.com/PyCQA/doc8
|
||||
rev: 0.8.1
|
||||
rev: ''
|
||||
hooks:
|
||||
- id: doc8
|
||||
additional_dependencies: [pygments]
|
||||
args: [--quiet,--ignore-path=Doc/examples/ec_*.txt]
|
||||
args: [--quiet,--ignore-path=Doc/examples/ec_*.txt, --ignore=D004]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: doi-link-style
|
||||
|
Reference in New Issue
Block a user