Merge pull request #22 from guykisel/check-case-conflict

Add check_case_conflict hook
diff --git a/README.md b/README.md
index 08a3bcc..838b1ba 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@
 
 ### Hooks available
 
-- `autopep8-wrapper` - Runs autopep8 over python source.
+- `autopep8-wrapper` - Runs autopep8 over python source. (You'll want `args: ['-i]` when using this hook, see `.pre-commit-config.yaml` for an example.)
 - `check-added-large-files` - Prevent giant files from being committed.
 - `check-docstring-first` - Checks a common error of defining a docstring after code.
 - `check-json` - Attempts to load all json files to verify syntax.
diff --git a/hooks.yaml b/hooks.yaml
index 98b95ef..4e31f98 100644
--- a/hooks.yaml
+++ b/hooks.yaml
@@ -1,6 +1,6 @@
 -   id: autopep8-wrapper
     name: autopep8 wrapper
-    description: Runs autopep8 over python source.
+    description: "Runs autopep8 over python source. (You'll want args: [-i] when using this hook, see .pre-commit-config.yaml for an example.)"
     entry: autopep8-wrapper
     language: python
     files: \.py$
diff --git a/pre_commit_hooks/requirements_txt_fixer.py b/pre_commit_hooks/requirements_txt_fixer.py
index a794c5d..2dec6bf 100644
--- a/pre_commit_hooks/requirements_txt_fixer.py
+++ b/pre_commit_hooks/requirements_txt_fixer.py
@@ -74,6 +74,11 @@
 
     for arg in args.filenames:
         with open(arg, 'rb+') as file_obj:
-            retv |= fix_requirements(file_obj)
+            ret_for_file = fix_requirements(file_obj)
+
+            if ret_for_file:
+                print('Sorting {0}'.format(arg))
+
+            retv |= ret_for_file
 
     return retv