Skip to content

Commit

Permalink
Revert weak args: this should build; then modify CI for archive
Browse files Browse the repository at this point in the history
  • Loading branch information
grunweg committed Aug 5, 2024
1 parent dfaf2f0 commit cf8847d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Mathlib/Tactic/Linter/Lint.lean
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ end CDotLinter
/-- The "longLine" linter emits a warning on lines longer than 100 characters.
We allow lines containing URLs to be longer, though. -/
register_option linter.longLine : Bool := {
defValue := true
defValue := false
descr := "enable the longLine linter"
}

Expand Down
6 changes: 1 addition & 5 deletions lakefile.lean
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ package mathlib where
-- so they can be enabled in CI and disabled locally or vice versa.
-- Warning: Do not put any options here that actually change the olean files,
-- or inconsistent behavior may result
weakLeanArgs := #[
"linter.longLine true",
"linter.missingEnd true",
"linter.setOption true"
]
-- weakLeanArgs := #[]

/-!
## Mathlib dependencies on upstream projects.
Expand Down

0 comments on commit cf8847d

Please sign in to comment.