File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
post-cip/formal-crypto/lean Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 2525 use-github-cache : true
2626
2727 leioscrypto-spec :
28- if : true
28+ if : false # Turn off because the `proofwidgets` dependency fails to build due to an `npm` dependency.
2929 runs-on : ubuntu-latest
3030 steps :
3131 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -2,6 +2,15 @@ import Lake
22
33open Lake DSL
44
5+ abbrev linter : Array LeanOption := #[
6+ ⟨`linter.longLine, true ⟩,
7+ -- (`linter.style.multiGoal, true),
8+ -- (`linter.textBased.trailingWhitespace, true),
9+ -- (`linter.defLemma, true),
10+ ⟨`linter.missingEnd, true ⟩,
11+ ⟨`linter.setOption, true ⟩
12+ ]
13+
514package «leioscrypto » where
615 version := StdVer.mk (SemVerCore.mk 0 1 0 ) ""
716 testDriver := "leioscrypto_test"
@@ -12,7 +21,7 @@ package «leioscrypto» where
1221 ⟨`autoImplicit, false ⟩,
1322 -- suppresses the checkBinderAnnotations error/warning
1423 ⟨`checkBinderAnnotations, false ⟩,
15- ]
24+ ] ++ linter.map fun s ↦ { s with name := `weak ++ s.name }
1625 moreServerOptions := #[
1726 ⟨`trace.debug, true ⟩,
1827 ]
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ import Leioscrypto.Registration
77import Leioscrypto.StakeDistribution
88import Leioscrypto.Types
99import Leioscrypto.Vote
10+ import Mathlib.Tactic.Linter
11+
12+
13+ #lint
14+
1015
1116/-!
1217# Leioscrypto: formalization of Leios cryptography.
You can’t perform that action at this time.
0 commit comments