Commit c0d0496e authored by Andrew Gibiansky's avatar Andrew Gibiansky

Allow IHaskellPrelude.hs to not be formatting checked

parent 3ba9a71c
......@@ -52,7 +52,9 @@ for source_dir in ["src", "ipython-kernel", "ihaskell-display"]:
for filename in filenames:
# Take Haskell files, but ignore the Cabal Setup.hs
if filename.endswith(".hs") and filename != "Setup.hs":
# Also ignore IHaskellPrelude.hs, it uses CPP in weird places
ignored_files = ["Setup.hs", "IHaskellPrelude.hs"]
if filename.endswith(".hs") and filename not in ignored_files:
sources.append(os.path.join(root, filename))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment