Skip to content

Fix buffering in --show-diff-on-failure#796

Merged
asottile merged 1 commit into
masterfrom
buffering
Jul 18, 2018
Merged

Fix buffering in --show-diff-on-failure#796
asottile merged 1 commit into
masterfrom
buffering

Conversation

@asottile
Copy link
Copy Markdown
Member

No description provided.

@asottile
Copy link
Copy Markdown
Member Author

Before this fix:

$ pre-commit  run --show-diff-on-failure | cat
Trim Trailing Whitespace.................................................Failed
hookid: trailing-whitespace

Files were modified by this hook. Additional output:

Fixing setup.py

Fix End of Files.........................................................Passed
autopep8 wrapper.........................................................Passed
Check docstring is first.................................................Passed
Check JSON...........................................(no files to check)Skipped
Check Yaml...........................................(no files to check)Skipped
Debug Statements (Python)................................................Passed
Tests should end in _test.py.........................(no files to check)Skipped
Fix requirements.txt.................................(no files to check)Skipped
Flake8...................................................................Passed
Validate Pre-Commit Manifest.........................(no files to check)Skipped
Reorder python imports...................................................Passed
Add trailing commas......................................................Passed
Check hooks apply to the repository..................(no files to check)Skipped
Check for useless excludes...........................(no files to check)Skipped
diff --git a/setup.py b/setup.py
index 72abdc4..b78dafe 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-from setuptools import find_packages  
+from setuptools import find_packages
 from setuptools import setup
 
 with open('README.md') as f:
All changes made by hooks:

@asottile asottile merged commit 550ce26 into master Jul 18, 2018
@asottile asottile deleted the buffering branch July 18, 2018 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant