diff options
| author | 2021-03-14 13:57:03 -0400 | |
|---|---|---|
| committer | 2021-03-14 13:57:03 -0400 | |
| commit | f20fa1cfbaf623a5eedfccc456c1945a561a527e (patch) | |
| tree | 77010a5f11a7e595ee749ac6816e787344517780 | |
| parent | master => main (diff) | |
| parent | Use .gitattributes to normalise line endings on check-in (diff) | |
Merge pull request #1465 from python-discord/gitattributes
Use .gitattributes to normalise line endings on check-in
| -rw-r--r-- | .gitattributes | 1 | ||||
| -rw-r--r-- | .pre-commit-config.yaml | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..176a458f9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1597592ca..52500a282 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,8 +7,6 @@ repos: - id: check-yaml args: [--unsafe] # Required due to custom constructors (e.g. !ENV) - id: end-of-file-fixer - - id: mixed-line-ending - args: [--fix=lf] - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/pre-commit/pygrep-hooks |