File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ def lint_all_files (path : System.FilePath) : IO UInt32 := do
400400/-- Implementation of the `lint_style` command line program. -/
401401def lintStyleCli (_args : Cli.Parsed) : IO UInt32 := do
402402 let mut number_error_files := 0
403- for s in # ["Archive.lean" , "Counterexamples.lean" , "Mathlib.lean" ] do
403+ for s in ["Archive.lean" , "Counterexamples.lean" , "Mathlib.lean" ] do
404404 let n ← lint_all_files (System.mkFilePath [s])
405405 number_error_files := number_error_files + n
406406 return number_error_files
@@ -410,7 +410,7 @@ open Cli in
410410-- so far, no help options or so: perhaps that is fine?
411411def lint_style : Cmd := `[Cli|
412412 lint_style VIA lintStyleCli; ["0.0.1" ]
413- "Run text-based style linters on Mathlib and the Archive and Counterexamples directories ."
413+ "Run text-based style linters on every Lean file in Mathlib/, Archive/ and Counterexamples/ ."
414414]
415415
416416/-- The entry point to the `lake exe lint_style` command. -/
You can’t perform that action at this time.
0 commit comments