Skip to content

Commit

Permalink
Merge branch 'main' into cleanup-vector-basic
Browse files Browse the repository at this point in the history
  • Loading branch information
fgdorais authored Nov 5, 2024
2 parents 27db89a + af73110 commit 621656e
Show file tree
Hide file tree
Showing 52 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ jobs:
- name: Don't 'import Lean', use precise imports
if: always()
run: |
! (find . -name "*.lean" ! -path "./test/import_lean.lean" -type f -print0 | xargs -0 grep -E -n '^import Lean$')
! (find . -name "*.lean" ! -path "./BatteriesTest/import_lean.lean" -type f -print0 | xargs -0 grep -E -n '^import Lean$')
3 changes: 0 additions & 3 deletions Batteries.lean
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ import Batteries.Tactic.SqueezeScope
import Batteries.Tactic.Trans
import Batteries.Tactic.Unreachable
import Batteries.Tactic.Where
import Batteries.Test.Internal.DummyLabelAttr
import Batteries.Test.Internal.DummyLibraryNote
import Batteries.Test.Internal.DummyLibraryNote2
import Batteries.Util.Cache
import Batteries.Util.ExtendedBinder
import Batteries.Util.LibraryNote
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Batteries.Test.Internal.DummyLibraryNote
import BatteriesTest.Internal.DummyLibraryNote

library_note "test" /--
3: this is a note in a different file importing the above testnotes,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/library_note.lean → BatteriesTest/library_note.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Batteries.Tactic.HelpCmd
import Batteries.Test.Internal.DummyLibraryNote2
import BatteriesTest.Internal.DummyLibraryNote2

/--
error: Note not found
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Batteries.Test.Internal.DummyLabelAttr
import BatteriesTest.Internal.DummyLabelAttr
import Lean.LabelAttribute

set_option linter.missingDocs false
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Scott Morrison
-/
import Batteries.Tactic.PermuteGoals
import Batteries.Test.Internal.DummyLabelAttr
import BatteriesTest.Internal.DummyLabelAttr
import Lean.Meta.Tactic.Constructor
import Lean.Elab.SyntheticMVars
import Lean.Elab.Tactic.SolveByElim -- FIXME we need to make SolveByElimConfig builtin
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion lakefile.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "batteries"
testDriver = "test"
testDriver = "BatteriesTest"
lintDriver = "runLinter"
defaultTargets = ["Batteries", "runLinter"]

Expand All @@ -9,6 +9,11 @@ linter.missingDocs = true
[[lean_lib]]
name = "Batteries"

[[lean_lib]]
name = "BatteriesTest"
globs = ["BatteriesTest.+"]
leanOptions = {linter.missingDocs = false}

[[lean_exe]]
name = "runLinter"
srcDir = "scripts"
Expand Down

0 comments on commit 621656e

Please sign in to comment.