1 # This file contains the project-specific settings for `fix-whitespace` a tiny
4 # * Removes trailing whitespace.
5 # * Removes trailing lines containing nothing but whitespace.
6 # * Ensures that the file ends in a newline character.
8 # By default, fix-whitespace checks every directory under the current working
9 # directory but no files. This program should be placed under a text-based
14 # 1) excluded-dirs is a black-list of directories,
15 # 2) included-dirs is a white-list of excluded-dirs
19 # 3) included-files is a white-list of files,
20 # 4) excluded-files is a black-list of included-files.
22 # The extended glob pattern can be used to specify file/direcotory names.
23 # For details, see http://hackage.haskell.org/package/filemanip-0.3.6.3/docs/System-FilePath-GlobPattern.html
26 # Without this line the above path will be excluded.
29 - "**/dist*" # matches every dist* in any directory
32 - .python-sphinx-virtualenv
36 # Every matched filename is included unless it is matched by excluded-files.
93 - Cabal-syntax/src/Distribution/Fields/Lexer.hs
94 - Cabal-tests/tests/ParserTests/warnings/tab.cabal
95 - Cabal-tests/tests/ParserTests/warnings/utf8.cabal
96 - cabal-testsuite/PackageTests/Regression/T8507/pkg.cabal
98 # These also contain tabs that affect the golden value:
99 # Could be removed from exceptions, but then the tab warning
100 # has to be removed from the corresponding .format file.
101 - Cabal-tests/tests/ParserTests/regressions/monad-param.cabal
102 - Cabal-tests/tests/ParserTests/regressions/th-lift-instances.cabal
104 # Files that use tabs
121 - doc/buildinfo-fields-reference.rst