1. Marcus Lindblom Sonestedt
  2. ml-hgext

Commits

Jesse Glick  committed ee548b2
  • Participants
  • Parent commits 0b3af05
  • Branches default

Comments (0)

Files changed (1)

File checkfiles.py

View file
 pre-commit.checkfiles = python:/path/to/checkfiles.py:fixup_hook
 
 [checkfiles]
+# default is any text file
 checked_exts = .c .h .cpp .xml .cs .html .js .css .txt .py .nsi .java .aspx .asp .bat .cmd .glsl
 ignored_files = foo/contains_tabs.txt bar/contains_trailing_ws.txt
 tab_size = 4
         self.repo = repo
 
         self.checked_exts = ui.configlist('checkfiles', 'checked_exts',
-            default='.c .h .cpp .xml .cs .html .js .css .txt .py .nsi .java .aspx .asp .bat .cmd .glsl')
+            default='""')
         self.ignored_files = ui.configlist('checkfiles', 'ignored_files')
         self.tab_size = int(ui.config('checkfiles', 'tab_size', default='4'))